Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Why does 'extend ActiveSupport::Concern' cause `undefined method 'recycle!'`?

View example.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
# 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.