plataformatec/devise — pull request #3279 by nakhli (2014-10-28 13:00:28+00:00)
Title: Add ActiveSupport load hook for DeviseController

Added lazy loading hook to `DeviseController` in order to ease monkey patching by client applications. This would be helpful for instance to set custom parameter wrapping for devise controllers:

```ruby
# in initializers/wrap_parameters.rb
ActiveSupport.on_load(:devise_controller) do
wrap_parameters :user, format: [:json]
end
```