On 17 Nov 2011, at 14:11, gbolahan a. wrote:

i Hav also modified the definition in my controllers as follows:

@categories = category.find(:all)

Classes should have a capital:

Category.find(:all)

and you could even bring this down to:

Category.all


Best regards

Peter De Berdt

--
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