[Rails] awesome_nested_set returns empty list

2019-11-17 Thread fugee ohu
<%= f.select :parent_id, nested_set_options(Category, @category) {|i| "#{'-' * i.level} #{i.name}" } %> I tried this for the new action where `@category = Category.new` but my rendered select list is empty -- You received this message because you are subscribed to the Google Groups "Ruby on

Re: [Rails] Ruby On Rails API generic quick-starter

2019-11-17 Thread shahroon ali
Nice job, will give it a try. Shahroon On Sun, Nov 17, 2019, 11:56 PM Marcos Vieira Ribeiro < marcosvieira@gmail.com> wrote: > Hi, fellows Rubyists! I'm here to contribute a bit to the open software > community! > > During my career, I've been working on plenty of projects and many of them >

[Rails] Ruby On Rails API generic quick-starter

2019-11-17 Thread Marcos Vieira Ribeiro
Hi, fellows Rubyists! I'm here to contribute a bit to the open software community! During my career, I've been working on plenty of projects and many of them were built from scratch. Based on this, I noticed that for every new application I had to implement tools, gems, and functionalities ove

[Rails] Re: awesome_nested_set

2019-11-17 Thread fugee ohu
On Sunday, November 17, 2019 at 10:15:18 AM UTC-5, Siyanda Maphumulo wrote: > > Hi, when u say u get a nil list, does the dropdown select render but it > does not contain any items ? > > I'm not familiar with "awesome_nested_set" but I have tried to do > something with a select in the past and

[Rails] Extra money

2019-11-17 Thread Business
Get free $100 and start your investment career without initial deposit. No extra effort. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receivin

[Rails] Re: awesome_nested_set

2019-11-17 Thread Siyanda Maphumulo
Hi, when u say u get a nil list, does the dropdown select render but it does not contain any items ? I'm not familiar with "awesome_nested_set" but I have tried to do something with a select in the past and I found "The Odin project" examples were helpful I've pasted the code below, it creates

[Rails] awesome_nested_set

2019-11-17 Thread fugee ohu
Is this view helper valid for @category=Category.new because I tried it, I get a nil list <%= f.select :parent_id, nested_set_options(Category, @category) {|i| "#{'-' * i.level} #{i.name}" } %> -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk