Ruby on Rails Monday, November 23, 2015

On 23 November 2015 at 20:11, fugee ohu <fugee279@gmail.com> wrote:
> I'm looking for a solution for managing categories My categories table has
> name , parent_id fields My first challenge is to display all categories on a
> single page and my next is to build select lists represenative of the tree
> (after this has been done I wanna integrate listings with them)

I don't understand what is challenging about your first challenge. Do
you mean you don't know how to get the categories from the database
(Category.all) or how to format them on a page or what?

It suggests to me that you have still not followed my and Tamara's
advice to work right through railstutorial.org. Until you understand
the basics you are just wasting your time and ours.

Colin

--
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 rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLs84oBpHbux4jSoY6gmiXNJ6nWXUGxKy%3Dx9eprE3dbZ6Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment