Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NameError in Sources#show
- Showing sources/_source_review.html.erb where line #26 raised:
- undefined local variable or method `expertise_topic_ids' for #<sourcereview:0x10b584b78>
- Extracted source (around line #26):
- 23: <%= h source_review.note %>
- 24:
- 25: <%- end -%>
- 26: <%- if !source_review.expertise_topics.blank? -%>
- 27:
- 28: This source is an expert on <%= source_review.expertise_topics.collect { |t| link_to t.name, t } * ', ' %> 29:
- Trace of template inclusion: /sources/show.html.erb
- RAILS_ROOT: /Users/cw/Desktop/_projects/newstrust/newstrust_new
- Application Trace | Framework Trace | Full Trace
- vendor/rails/activerecord/lib/active_record/attribute_methods.rb:256:in `method_missing'
- app/models/source_review.rb:15:in `expertise_topics'
- app/views/sources/_source_review.html.erb:26:in `_run_erb_47app47views47sources47_source_review46html46erb'
- app/views/sources/show.html.erb:155:in `_run_erb_47app47views47sources47show46html46erb'
- app/views/sources/show.html.erb:145:in `_run_erb_47app47views47sources47show46html46erb'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
- /Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
- Request
- Parameters:
- {"id"=>"los_angeles_times"}
- Show session dump
- Response
- Headers:
- {"cookie"=>[],
- "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment