cbeer / devise-guests

fake 'em until you make 'em
MIT License
130 stars 31 forks source link

Callbacks don't get defined #15

Closed ismell closed 3 years ago

ismell commented 10 years ago

If ActionController::Base gets loaded before the routes.rb file is parsed i.e a gem touches ActionController::Base when its getting loaded, then the callbacks are never defined on ActionController::Base. I think we need to keep an array of objects that have included the Helpers module and define_concern_callback should then call define_callback on the controllers.

pacso commented 3 years ago

Should be fixed in #34