Displaying 1 result from an estimated 1 matches for "easy_auth".
Did you mean:
ast_auth
2013 Jun 08
1
ActiveSupport::Concern support Module#prepend?
I''ve monkey patched this behavior into a gem and I was wondering if core
would be interested in a PR to add Module#prepend support to
ActiveSupport#Concern. I''ll add tests of course.
The code is here:
https://github.com/dockyard/easy_auth/blob/master/lib/easy_auth/active_support/concern.rb
My monkey patch work for what I''m trying to do but I suspect a better
implementation would actually have @_dependencies be an array of arrays
with each set being the module in the first element then :include or
:prepend in the send. T...