Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > NewsletterMailer.deliver_publish("phill@themarknews.com") ActionView::TemplateError:
- ActionView::TemplateError (author_url failed to generate from {:action=>"show", :controller=>"authors", :id=>#<Author id: 187, user_id: 196, long_bio: "Dr. Richards is a Professor of economic geology at ...", short_bio: "Professional Geologist and Professor of economic ge...", created_at: "2009-04-17 15:34:23", updated_at: "2009-05-11 13:00:09", blog_url: "", site_url: "", visible: true, accepted_tos: true>}, expected: {:action=>"show", :controller=>"authors"}, diff: {:id=>#<Author id: 187, user_id: 196, long_bio: "Dr. Richards is a Professor of economic geology at ...", short_bio: "Professional Geologist and Professor of economic ge...", created_at: "2009-04-17 15:34:23", updated_at: "2009-05-11 13:00:09", blog_url: "", site_url: "", visible: true, accepted_tos: true>}) on line #9 of magazine/_thought.haml:
- 6: .author.clear
- 7: %h4
- 8: = thought.author.name
- 9: = link_to '[Bio]', author_url(thought.author)
- 10: %h5
- 11: = thought.author.short_bio
- 12: %a{:href => author_url(thought.author)}= author_photo(thought.author)
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:376:in `raise_named_route_error'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:340:in `generate'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/url_rewriter.rb:72:in `url_for'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `url_for'
- (eval):17:in `author_url'
- app/views/magazine/_thought.haml:9:in `_run_plugin_47app47views47magazine47_thought46haml'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:20:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:19:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:27:in `render_member'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:142:in `render_partial_collection_with_known_partial_path'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `map'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `render_partial_collection_with_known_partial_path'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:135:in `render_partial_collection'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:275:in `render_without_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
- vendor/plugins/haml/lib/haml/helpers.rb:57:in `non_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
- app/views/newsletter_mailer/publish.html.haml:1:in `_run_plugin_47app47views47newsletter_mailer47publish46html46haml'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:35:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:248:in `render_file'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:273:in `render_without_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:6:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:542:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:533:in `render_message'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:478:in `create!'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:439:in `initialize'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `new'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `method_missing'
- (irb):1:in `irb_binding'
- /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
- /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52
- from On line #9 of magazine/_thought.haml
- 6: .author.clear
- 7: %h4
- 8: = thought.author.name
- 9: = link_to '[Bio]', author_url(thought.author)
- 10: %h5
- 11: = thought.author.short_bio
- 12: %a{:href => author_url(thought.author)}= author_photo(thought.author)
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:376:in `raise_named_route_error'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:340:in `generate'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/url_rewriter.rb:72:in `url_for'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `url_for'
- (eval):17:in `author_url'
- app/views/magazine/_thought.haml:9:in `_run_plugin_47app47views47magazine47_thought46haml'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:20:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:19:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:27:in `render_member'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:142:in `render_partial_collection_with_known_partial_path'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `map'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `render_partial_collection_with_known_partial_path'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:135:in `render_partial_collection'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:275:in `render_without_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
- vendor/plugins/haml/lib/haml/helpers.rb:57:in `non_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
- app/views/newsletter_mailer/publish.html.haml:1:in `_run_plugin_47app47views47newsletter_mailer47publish46html46haml'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:35:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:248:in `render_file'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:273:in `render_without_haml'
- vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:6:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:542:in `render'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:533:in `render_message'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:478:in `create!'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:439:in `initialize'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `new'
- /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `method_missing'
- (irb):1:in `irb_binding'
- /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
- /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52
- Maybe IRB bug!!
Add Comment
Please, Sign In to add comment