Skip to content

@westonplatter /example.rb
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Why does 'extend ActiveSupport::Concern' cause `undefined method 'recycle!'`?
# 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
Something went wrong with that request. Please try again.