On Wed, 2009-06-17 at 17:41 +0100, Colin Law wrote:
> product.ingredients is an array, you could reference

> In all of this don't forget to watch out for a product with no
> ingredients (product.ingredients is nil in this case) 

I'm sure you meant to say that product.ingredients is an empty array

> I wonder whether it would be useful for you to run through some basic
> Ruby tutorials to get a bit more grounding on the basics of Ruby.

Excellent advice, put very nicely.

Best regards,
Bill


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to