Skip to content

Instantly share code, notes, and snippets.

@dlupu
Created December 25, 2015 22:50
Show Gist options
  • Save dlupu/936eec31c3a116b9eb40 to your computer and use it in GitHub Desktop.
Save dlupu/936eec31c3a116b9eb40 to your computer and use it in GitHub Desktop.
`alias_method': undefined method `attributes_for' for class `Devise::ParameterSanitizer' (NameError)
~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/core_ext/module/aliasing.rb:37:in `alias_method': undefined method `attributes_for' for class `Devise::ParameterSanitizer' (NameError)
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/core_ext/module/aliasing.rb:37:in `alias_method_chain'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/devise_invitable-5c4260faf54a/lib/devise_invitable/parameter_sanitizer.rb:12:in `included'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/devise_invitable-5c4260faf54a/lib/devise_invitable/rails.rb:20:in `include'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/devise_invitable-5c4260faf54a/lib/devise_invitable/rails.rb:20:in `block in <class:Engine>'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/lazy_load_hooks.rb:36:in `call'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/lazy_load_hooks.rb:44:in `each'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-5.0.0.beta1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/application/finisher.rb:62:in `block in <module:Finisher>'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/initializable.rb:30:in `instance_exec'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/initializable.rb:30:in `run'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/initializable.rb:55:in `block in run_initializers'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `call'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'
from ~/.rbenv/versions/2.2.2/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/initializable.rb:54:in `run_initializers'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-5.0.0.beta1/lib/rails/application.rb:350:in `initialize!'
from ~/Projects/my-project/config/environment.rb:5:in `<top (required)>'
from ~/Projects/my-project/spec/rails_helper.rb:3:in `require'
from ~/Projects/my-project/spec/rails_helper.rb:3:in `<top (required)>'
from ~/Projects/my-project/spec/controllers/admin/corporations_controller/anonymous_spec.rb:1:in `require'
from ~/Projects/my-project/spec/controllers/admin/corporations_controller/anonymous_spec.rb:1:in `<top (required)>'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/configuration.rb:1361:in `load'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/configuration.rb:1361:in `block in load_spec_files'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/configuration.rb:1359:in `each'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/configuration.rb:1359:in `load_spec_files'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/runner.rb:102:in `setup'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/runner.rb:88:in `run'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/runner.rb:73:in `run'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/lib/rspec/core/runner.rb:41:in `invoke'
from ~/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/bundler/gems/rspec-core-8cb45cc8779d/exe/rspec:4:in `<top (required)>'
from ~/.rbenv/versions/2.2.2/bin/rspec:23:in `load'
from ~/.rbenv/versions/2.2.2/bin/rspec:23:in `<top N(required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment