On 23 November 2015 at 21:11, fugee ohu <fugee...@gmail.com> wrote:
> how to format them on a page ... my thought was to use group_by for
> formatting a page that displays all categories

Do the tutorial.

Colin

>
> On Monday, November 23, 2015 at 3:39:05 PM UTC-5, Colin Law wrote:
>>
>> On 23 November 2015 at 20:11, fugee ohu <fuge...@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+unsubscr...@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/145b7f8d-6956-44b3-ac9a-57fecd95e33e%40googlegroups.com.
>
> For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@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%3D0gLvE7FYE5obDmavW03ct3hDFrfhWbuPRdedStLAWXcTmkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to