Skip to content

Instantly share code, notes, and snippets.

@kilaulena
Created November 25, 2011 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kilaulena/1393495 to your computer and use it in GitHub Desktop.
Save kilaulena/1393495 to your computer and use it in GitHub Desktop.
1) Error:
test_0001_should_allow_to_add_a_place_to_favorites_being_logged_in(Acceptance: Favorite a place):
ActionView::Template::Error: undefined method `params' for #<UserMailer:0x00000107ff28e8>
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/base.rb:193:in `params'
/Users/lena/.bundle/ruby/1.9.1/bundler/gems/i18n_viz-50d42526ecf5/lib/i18n_viz/view_helpers.rb:22:in `display_i18n_viz?'
/Users/lena/.bundle/ruby/1.9.1/bundler/gems/i18n_viz-50d42526ecf5/lib/i18n_viz/view_helpers.rb:5:in `translate'
/Users/lena/devel/railslove/lysbon/app/views/user_mailer/confirmation_instructions.text.erb:1:in `_app_views_user_mailer_confirmation_instructions_text_erb___174597756938345910_2233858620_1726467605911877121'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/template.rb:162:in `block in render'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:54:in `instrument'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/template.rb:154:in `render'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/render/rendering.rb:59:in `block in _render_template'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:52:in `block in instrument'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:52:in `instrument'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/render/rendering.rb:56:in `_render_template'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/action_view/render/rendering.rb:26:in `render'
/Users/lena/.bundle/ruby/1.9.1/gems/haml-3.1.3/lib/haml/helpers/action_view_mods.rb:13:in `render_with_haml'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/rendering.rb:115:in `_render_template'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/rendering.rb:109:in `render_to_body'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/rendering.rb:102:in `render_to_string'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/rendering.rb:93:in `render'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/deprecated_api.rb:111:in `render'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:735:in `block in collect_responses_and_parts_order'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:750:in `each'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:750:in `block in each_template'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:745:in `each'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:745:in `each_template'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:731:in `collect_responses_and_parts_order'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:673:in `mail'
/Users/lena/devel/railslove/lysbon/app/mailers/notification_mailer.rb:16:in `mail_to'
/Users/lena/devel/railslove/lysbon/app/mailers/user_mailer.rb:9:in `block in confirmation_instructions'
/Users/lena/.bundle/ruby/1.9.1/gems/i18n-0.5.0/lib/i18n.rb:245:in `with_locale'
/Users/lena/devel/railslove/lysbon/app/mailers/user_mailer.rb:8:in `confirmation_instructions'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/base.rb:150:in `process_action'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/base.rb:119:in `process'
/Users/lena/.bundle/ruby/1.9.1/gems/actionpack-3.0.11/lib/abstract_controller/rendering.rb:41:in `process'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/old_api.rb:75:in `process'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:471:in `process'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:466:in `initialize'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:450:in `new'
/Users/lena/.bundle/ruby/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:450:in `method_missing'
/Users/lena/.bundle/ruby/1.9.1/gems/resque_mailer-2.0.2/lib/resque_mailer.rb:26:in `method_missing'
/Users/lena/devel/railslove/lysbon/app/models/user.rb:532:in `send_confirmation_instructions'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/callbacks.rb:428:in `_run_create_callbacks'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:277:in `create'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/persistence.rb:257:in `create_or_update'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:273:in `block in create_or_update'
/Users/lena/.bundle/ruby/1.9.1/gems/activesupport-3.0.11/lib/active_support/callbacks.rb:439:in `_run_save_callbacks'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:273:in `create_or_update'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/persistence.rb:60:in `save!'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/validations.rb:49:in `save!'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/attribute_methods/dirty.rb:30:in `save!'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:245:in `block in save!'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:292:in `block in with_transaction_returning_status'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:207:in `transaction'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
/Users/lena/.bundle/ruby/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:245:in `save!'
/Users/lena/.bundle/ruby/1.9.1/gems/factory_girl-2.3.0/lib/factory_girl/proxy/create.rb:9:in `result'
/Users/lena/.bundle/ruby/1.9.1/gems/factory_girl-2.3.0/lib/factory_girl/factory.rb:163:in `run'
/Users/lena/.bundle/ruby/1.9.1/gems/factory_girl-2.3.0/lib/factory_girl/factory.rb:45:in `run'
/Users/lena/.bundle/ruby/1.9.1/gems/factory_girl-2.3.0/lib/factory_girl/syntax/methods.rb:148:in `run_factory_girl_proxy'
/Users/lena/.bundle/ruby/1.9.1/gems/factory_girl-2.3.0/lib/factory_girl/syntax/methods.rb:63:in `create'
test/acceptance/places/favorite_place_test.rb:6:in `block (2 levels) in <main>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment