phatworx/devise_security_extension — Issue #27: InstanceMethods module inside ActiveSupport::Concern Deprecated in Rails 3.2
Author: vizjerai
Created: 2012-02-01 21:17:27+00:00
State: open

This is an easy fix by defining the methods directly in the module that extends ```ActiveSupport::Concern``` instead of putting them inside of an ```InstanceMethods``` module.

As of v0.6.0 these are two places this should be fixed. It shouldn't cause any issues with previous versions of rails because the module that extends ```ActiveSupport::Concern``` is already being included.

https://github.com/phatworx/devise_security_extension/blob/master/lib/devise_security_extension/controllers/helpers.rb#L28
https://github.com/phatworx/devise_security_extension/blob/master/lib/devise_security_extension/models/expirable.rb#L21