Skip to content

Instantly share code, notes, and snippets.

@joeellis
Created March 2, 2011 16:28
Show Gist options
  • Save joeellis/851208 to your computer and use it in GitHub Desktop.
Save joeellis/851208 to your computer and use it in GitHub Desktop.
Could not find a valid mapping for #<User id: 4, email: "[email protected]", encrypted_password: "$2a$04$pg1ZaqHhB6iEpwzRse63ruW7o4FYoP4yKgnQ2skqTFfa...", password_salt: "", reset_password_token: nil, remember_token: nil, remember_created_at: nil, sign_in_count: 0, current_sign_in_at: nil, last_sign_in_at: nil, current_sign_in_ip: nil, last_sign_in_ip: nil, invitation_token: nil, invitation_sent_at: nil, confirmation_token: "49YHch7td0K0RDKyry1O", confirmed_at: nil, confirmation_sent_at: "2011-03-02 16:11:57", created_at: "2011-03-02 16:11:57", updated_at: "2011-03-02 16:11:57", group_id: 4>
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/lib/devise/mapping.rb:40:in `find_scope!'
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app/mailers/devise/mailer.rb:26:in `initialize_from_record'
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app/mailers/devise/mailer.rb:21:in `setup_mail'
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/app/mailers/devise/mailer.rb:6:in `confirmation_instructions'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.4/lib/abstract_controller/base.rb:150:in `process_action'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.4/lib/abstract_controller/base.rb:119:in `process'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionpack-3.0.4/lib/abstract_controller/rendering.rb:41:in `process'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.4/lib/action_mailer/old_api.rb:75:in `process'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.4/lib/action_mailer/base.rb:448:in `process'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.4/lib/action_mailer/base.rb:443:in `initialize'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.4/lib/action_mailer/base.rb:427:in `new'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/actionmailer-3.0.4/lib/action_mailer/base.rb:427:in `method_missing'
# ~/.rvm/gems/ruby-1.9.2-p136/bundler/gems/devise-e4cae200f4a5/lib/devise/models/confirmable.rb:50:in `send_confirmation_instructions'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.4/lib/active_support/callbacks.rb:422:in `_run_create_callbacks'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/callbacks.rb:281:in `create'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/persistence.rb:246:in `create_or_update'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/callbacks.rb:277:in `block in create_or_update'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activesupport-3.0.4/lib/active_support/callbacks.rb:433:in `_run_save_callbacks'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/callbacks.rb:277:in `create_or_update'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/persistence.rb:56:in `save!'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/validations.rb:49:in `save!'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/attribute_methods/dirty.rb:30:in `save!'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/transactions.rb:245:in `block in save!'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/transactions.rb:292:in `block in with_transaction_returning_status'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/transactions.rb:207:in `transaction'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.4/lib/active_record/transactions.rb:245:in `save!'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/factory_girl-1.3.3/lib/factory_girl/proxy/create.rb:6:in `result'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:330:in `run'
# ~/.rvm/gems/ruby-1.9.2-p136/gems/factory_girl-1.3.3/lib/factory_girl/factory.rb:273:in `create'
# ./spec/acceptance/session_feature_spec.rb:9:in `block (3 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment