In that till I've tried following way to assign scope for relater:
1 - acts_as_list :scope => :relater
2 - acts_as_list :scope => [:relater_id, :relater_type]
3 - acts_as_list :scope => 'relater_id=#{relater_id} and relater_type =
\'#{relater_type}\''
But showing same result position 1,2,3 for RelatedFeed and 1,2,3 for
RelatedLink.. not generating position number with the scope on
Relater(i.e 1,2,3,4,5,6....etc)..
Guys, any Idea...???
--
Posted via http://www.ruby-forum.com/.
--
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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.