--DWCcV0MLNdX8jYwGgc/
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

I know this is the ruby list and not the rails list but it would be nice
if we didn't have to add code to our views to rescue nils.  I guess you
could add the method each if you to the nil class right?

On Fri, 2006-03-03 at 00:29 +0900, dblack / wobblini.net wrote:

> Hi --
> 
> On Fri, 3 Mar 2006, Charlie Bowman wrote:
> 
> > As a side thought. Why doesn't the nil class have an each method that
> > returns nothing.  It seems that this problem comes up quite often.
> 
> Because it's not a container or iterator.
> 
> 
> David


Charlie Bowman
http://www.recentrambles.com

--DWCcV0MLNdX8jYwGgc/--