acts-as-list Questions

4

Solved

I've found an old plugin called acts_as_habtm_list - but it's for Rails 1.0.0. Is this functionality built in acts_as_list now? I can't seem to find any information on it. Basically, I have an ar...

3

I have a possibly unique case where I need a model to have two differing orders depending on the model it is joined to. Example as follows: class Book acts_as_list :column => :genre, :scope =&...
Zoochore asked 22/10, 2011 at 17:31

2

I have a model integrated with acts_as_list. However, by default new items created get added to the end of the list. Is there a default way to add new items to the beginning? Thanks!
Fantom asked 22/8, 2012 at 22:26

3

Solved

I installed by putting the following line in Gemfile and 'bundle install': gem 'acts_as_list', '>= 0.1.0' However, when I try to use it, the results are not as expected: technician.move_t...
Frost asked 22/12, 2010 at 2:0

1

I've managed to use act_as_list with my Models (it was quite easy) one by one, but now i have a problem. In my app there are 3 models: Facility, Service and Activity. I need to use acts_as_list on...
Substage asked 13/6, 2011 at 11:46
1

© 2022 - 2024 — McMap. All rights reserved.