I often find myself needing to prepend some methods in a concern in order 
to be able to use a macro and override the generated methods with some 
twists.

I usually do something like this 
https://gist.github.com/Systho/0bc4b9236abb039fbdb4 
because it's easy to read and understand.

I would find it very useful to have it directly available in 
ActiveSupport::Concern and I'm ready to write some code and tests for this 
feature if I'm not the only one interested.

What do you think of it ?

-- 
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/d/optout.

Reply via email to