I extracted some code I've used in a few projects into a gem that plugs 
into ActiveRecord and thought that it might be useful as a core feature.

Basically, it allows you to apply scopes from parameters by keeping a 
meta-definition of what your ActiveRecord scopes are. Implementation could 
be improved, but it is pretty useful, cleans up tons of controller code and 
I didn't see anything else like it when I searched around.

Hoping to get some feedback on whether it would make sense to submit a pull 
request.  

https://github.com/dlangevin/autoscope

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to