On Mar 4, 2014, at 10:04 AM, Steven Cahill <[email protected]>
wrote:
> def index
> @categories = Category.order('id asc')
> end
>
> The only problem is the navigation list that I have put into the application
> layout page seems to have a mind of its own, here is the code for
So why are you using Category.all instead of @categories?
--
Scott Ribe
[email protected]
http://www.elevated-dev.com/
(303) 722-0567 voice
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/rubyonrails-talk/C086EC4D-F002-4589-AB5A-258A0C72D296%40elevated-dev.com.
For more options, visit https://groups.google.com/groups/opt_out.