Guest User

Untitled

a guest
Jun 18th, 2018
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.08 KB | None | 0 0
  1. > NewsletterMailer.deliver_publish("phill@themarknews.com") ActionView::TemplateError:
  2.  
  3. 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:
  4. 6: .author.clear
  5. 7: %h4
  6. 8: = thought.author.name
  7. 9: = link_to '[Bio]', author_url(thought.author)
  8. 10: %h5
  9. 11: = thought.author.short_bio
  10. 12: %a{:href => author_url(thought.author)}= author_photo(thought.author)
  11.  
  12. /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'
  13. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:340:in `generate'
  14. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/url_rewriter.rb:72:in `url_for'
  15. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `send'
  16. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `url_for'
  17. (eval):17:in `author_url'
  18. app/views/magazine/_thought.haml:9:in `_run_plugin_47app47views47magazine47_thought46haml'
  19. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
  20. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
  21. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
  22. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
  23. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:20:in `render'
  24. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
  25. /Users/phillmv/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
  26. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
  27. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:19:in `render'
  28. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
  29. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:27:in `render_member'
  30. /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'
  31. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `map'
  32. /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'
  33. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:135:in `render_partial_collection'
  34. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:275:in `render_without_haml'
  35. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
  36. vendor/plugins/haml/lib/haml/helpers.rb:57:in `non_haml'
  37. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
  38. app/views/newsletter_mailer/publish.html.haml:1:in `_run_plugin_47app47views47newsletter_mailer47publish46html46haml'
  39. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
  40. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
  41. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
  42. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
  43. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:35:in `render'
  44. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
  45. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:248:in `render_file'
  46. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:273:in `render_without_haml'
  47. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:6:in `render'
  48. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:542:in `render'
  49. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:533:in `render_message'
  50. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:478:in `create!'
  51. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:439:in `initialize'
  52. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `new'
  53. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `method_missing'
  54. (irb):1:in `irb_binding'
  55. /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
  56. /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52
  57.  
  58.  
  59. from On line #9 of magazine/_thought.haml
  60.  
  61. 6: .author.clear
  62. 7: %h4
  63. 8: = thought.author.name
  64. 9: = link_to '[Bio]', author_url(thought.author)
  65. 10: %h5
  66. 11: = thought.author.short_bio
  67. 12: %a{:href => author_url(thought.author)}= author_photo(thought.author)
  68.  
  69. /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'
  70. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/routing/route_set.rb:340:in `generate'
  71. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/url_rewriter.rb:72:in `url_for'
  72. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `send'
  73. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/helpers/url_helper.rb:71:in `url_for'
  74. (eval):17:in `author_url'
  75. app/views/magazine/_thought.haml:9:in `_run_plugin_47app47views47magazine47_thought46haml'
  76. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
  77. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
  78. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
  79. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
  80. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:20:in `render'
  81. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
  82. /Users/phillmv/local/lib/ruby/gems/1.8/gems/activesupport-2.1.2/lib/active_support/core_ext/benchmark.rb:8:in `realtime'
  83. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/benchmarking.rb:26:in `benchmark'
  84. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:19:in `render'
  85. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
  86. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partial_template.rb:27:in `render_member'
  87. /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'
  88. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:141:in `map'
  89. /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'
  90. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/partials.rb:135:in `render_partial_collection'
  91. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:275:in `render_without_haml'
  92. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
  93. vendor/plugins/haml/lib/haml/helpers.rb:57:in `non_haml'
  94. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:5:in `render'
  95. app/views/newsletter_mailer/publish.html.haml:1:in `_run_plugin_47app47views47newsletter_mailer47publish46html46haml'
  96. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `send'
  97. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:342:in `execute'
  98. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `send'
  99. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template_handlers/compilable.rb:29:in `render'
  100. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:35:in `render'
  101. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/template.rb:22:in `render_template'
  102. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:248:in `render_file'
  103. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_view/base.rb:273:in `render_without_haml'
  104. vendor/plugins/haml/lib/haml/helpers/action_view_mods.rb:6:in `render'
  105. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:542:in `render'
  106. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:533:in `render_message'
  107. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:478:in `create!'
  108. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:439:in `initialize'
  109. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `new'
  110. /Users/phillmv/local/lib/ruby/gems/1.8/gems/actionmailer-2.1.2/lib/action_mailer/base.rb:383:in `method_missing'
  111. (irb):1:in `irb_binding'
  112. /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52:in `irb_binding'
  113. /Users/phillmv/local/lib/ruby/1.8/irb/workspace.rb:52
  114. Maybe IRB bug!!
Add Comment
Please, Sign In to add comment