Created
March 31, 2010 02:01
-
-
Save richdownie/349836 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NoMethodError in Line_items#index | |
Showing app/views/line_items/_comment.html.erb where line #11 raised: | |
You have a nil object when you didn't expect it! | |
The error occurred while evaluating nil.full_name | |
Extracted source (around line #11): | |
8: </div> | |
9: | |
10: <div class="value" > | |
11: <div class="credentials"><%= link_to comment.person.full_name, person_profile_url(comment.person) %> | |
12: | | |
13: <%= time_ago_in_words(comment.created_at,true)%> ago</div> | |
14: | |
Trace of template inclusion: app/views/line_items/_comments_in_popup.html.erb, app/views/line_items/_line_item.html.erb, app/views/line_items/_results.html.erb, app/views/line_items/index.html.erb | |
RAILS_ROOT: /var/www/railsapps/auto/releases/20100330192544 | |
Application Trace | Framework Trace | Full Trace | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_comment.html.erb:11:in `_run_erb_app47views47line_items47_comment46html46erb_locals_comment_comment_counter_object' | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_comments_in_popup.html.erb:17:in `_run_erb_app47views47line_items47_comments_in_popup46html46erb_locals_comments_in_popup_line_item_object' | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_line_item.html.erb:17:in `_run_erb_app47views47line_items47_line_item46html46erb_locals_line_item_object' | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_results.html.erb:33:in `_run_erb_app47views47line_items47_results46html46erb_locals_issue_type_line_items_object_results' | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_results.html.erb:30:in `each' | |
/var/www/railsapps/auto/releases/20100330192544/app/views/line_items/_results.html.erb:30:in `_run_erb_app47views47line_items47_results46html46erb_locals_issue_type_line_items_object_results' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment