On Jul 9, 11:55 pm, Luis
<luis.ch...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Does anyone know how to modify the generated scope_condition method
> that acts_as_list generates?
Well, I realized how to do this, and it was a little obvious.
I simply copied the source of what acts_as_list does and changed the
class_eval method call to instance_eval (and removing everything
else).
e.g.
instance_eval scope_condition_method
--~--~---------~--~----~------------~-------~--~----~
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-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---