Skip to content

Instantly share code, notes, and snippets.

@santoshkosgi
Created April 19, 2012 20:34
Show Gist options
  • Save santoshkosgi/2423973 to your computer and use it in GitHub Desktop.
Save santoshkosgi/2423973 to your computer and use it in GitHub Desktop.
omniauth 0.2.6 error with rails 3.1.3
/home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activerecord-3.1.3/lib/active_record/base.rb:1088:in `method_missing': undefined method `mass_assignment_sanitizer=' for ActiveRecord::Base:Class (NoMethodError)
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activerecord-3.1.3/lib/active_record/railtie.rb:59:in `block (3 levels) in <class:Railtie>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activerecord-3.1.3/lib/active_record/railtie.rb:58:in `each'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activerecord-3.1.3/lib/active_record/railtie.rb:58:in `block (2 levels) in <class:Railtie>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:36:in `instance_eval'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:36:in `execute_hook'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/lazy_load_hooks.rb:26:in `on_load'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activerecord-3.1.3/lib/active_record/railtie.rb:54:in `block in <class:Railtie>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `instance_exec'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/initializable.rb:30:in `run'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/initializable.rb:55:in `block in run_initializers'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `each'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/initializable.rb:54:in `run_initializers'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/application.rb:96:in `initialize!'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /home/santosh/rails/twitterapp/config/environment.rb:5:in `<top (required)>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `block in require'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `block in load_dependency'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:640:in `new_constants_in'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:223:in `load_dependency'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/activesupport-3.1.3/lib/active_support/dependencies.rb:240:in `require'
from /home/santosh/rails/twitterapp/config.ru:4:in `block in <main>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/builder.rb:51:in `instance_eval'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/builder.rb:51:in `initialize'
from /home/santosh/rails/twitterapp/config.ru:1:in `new'
from /home/santosh/rails/twitterapp/config.ru:1:in `<main>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/builder.rb:40:in `eval'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/builder.rb:40:in `parse_file'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/server.rb:200:in `app'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/commands/server.rb:46:in `app'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/server.rb:301:in `wrapped_app'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/rack-1.3.6/lib/rack/server.rb:252:in `start'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/commands/server.rb:70:in `start'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/commands.rb:54:in `block in <top (required)>'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/commands.rb:49:in `tap'
from /home/santosh/.rvm/gems/ruby-1.9.2-p290@twitterapp/gems/railties-3.1.3/lib/rails/commands.rb:49:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment