lib/devise/models.rb in devise-3.1.2 vs lib/devise/models.rb in devise-3.2.0
- old
+ new
@@ -82,14 +82,9 @@
end
devise_modules_hook! do
include Devise::Models::Authenticatable
- if selected_modules.include?(:token_authenticatable)
- ActiveSupport::Deprecation.warn "devise :token_authenticatable is deprecated. " \
- "Please check Devise 3.1 release notes for more information on how to upgrade."
- end
-
selected_modules.each do |m|
mod = Devise::Models.const_get(m.to_s.classify)
if mod.const_defined?("ClassMethods")
class_mod = mod.const_get("ClassMethods")