Let's say I have this set up:
an article belongs to a section

If I go to sections/show, I would see a list of articles belonging to
that section.  I want to be able to modify the position of each
article within that section, so in the model for article, I'd put...

acts_as_list :scope => :section

right?

Now what if I ALSO wanted, when I go to articles/index, to see the
list of all articles except based on some other column value,
like :rank.  It would work the same way... but I'm not sure if this is
possible with acts_as_list.

Can acts_as_list do this?  Or is there a better solution?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to