Created
December 1, 2012 23:15
-
-
Save westonplatter/4185823 to your computer and use it in GitHub Desktop.
Why does 'extend ActiveSupport::Concern' cause `undefined method 'recycle!'`?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# code in my rails engine | |
moduel MyEngine | |
class SomeController | |
extend ActiveSupport::Concern | |
def engine_some_method | |
end | |
end | |
end | |
# code in my rails app where engine is implemented | |
class SomeController | |
include MyEngine::SomeController | |
def app_some_method | |
end | |
# code that's available by including the Rails Engine code | |
# def engine_some_method | |
# end | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment