-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Description
Hello!
I create new Rails 4 beta Application with Sorcery.
1) Rails said to me:
RuntimeError in WelcomeController#index
attr_protected
is extracted out of Rails into a gem. Please use new recommended protection model for params(strong_parameters) or add protected_attributes
to your Gemfile to use old one.
gem 'protected_attributes' solve this problem.
Will It be changed in future? I just want to know.
2)
For Rails 4 I add require 'sorcery/engine' at top of config/initializers/sorcery.rb
require 'sorcery/engine'
# Available submodules are: :user_activation, :http_basic_auth, :remember_me,
# :reset_password, :session_timeout, :brute_force_protection, :activity_logging, :external
# :reset_password
Rails.application.config.sorcery.submodules = [:remember_me]
Maybe it can be helpful for somebody.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels