authentication-zero
authentication-zero copied to clipboard
Before process_action callback :verify_authenticity_token has not been defined
$ rails db:migrate
Loading application environment...
Loading code in search of Active Record models...
bin/rails aborted!
Loading models failed!
Error occurred while loading application: Before process_action callback :verify_authenticity_token has not been defined (ArgumentError)
app/controllers/sessions/omniauth_controller.rb:5:in <class:OmniauthController>' app/controllers/sessions/omniauth_controller.rb:4:in
module:Sessions'
app/controllers/sessions/omniauth_controller.rb:3:in `
Caused by: ArgumentError: Before process_action callback :verify_authenticity_token has not been defined (ArgumentError)
raise ArgumentError, "#{type.to_s.capitalize} #{name} callback #{filter.inspect} has not been defined"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sessions/omniauth_controller.rb:5:in <class:OmniauthController>' sessions/omniauth_controller.rb:4:in
module:Sessions'
omniauth_controller.rb:3:in `
Help?