Created
May 5, 2010 17:32
-
-
Save anlek/391138 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 Chapter_requests#show | |
Showing app/views/chapter_requests/show.html.haml where line #3 raised: | |
You have a nil object when you didn't expect it! | |
You might have expected an instance of Array. | |
The error occurred while evaluating nil.include? | |
Extracted source (around line #3): | |
1: - title "Chapter Request for #{@chapter_request.location}" | |
2: %section.requester | |
3: = "requested by: #{@chapter_request.creator.try(:full_name) || "Unknown"}" | |
4: | |
RAILS_ROOT: /Users/andrew/rails_apps/entment_org | |
Application Trace | Framework Trace | Full Trace | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:142:in `create_time_zone_conversion_attribute?' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:75:in `define_attribute_methods' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:71:in `each' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:71:in `define_attribute_methods' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/attribute_methods.rb:242:in `method_missing' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/associations/association_proxy.rb:217:in `try' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/associations/association_proxy.rb:217:in `send' | |
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/associations/association_proxy.rb:217:in `method_missing' | |
/Users/andrew/rails_apps/entment_org/app/views/chapter_requests/show.html.haml:3:in `_run_haml_app47views47chapter_requests47show46html46haml' | |
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
- title "Chapter Request for #{@chapter_request.location}" | |
%section.requester | |
= "requested by: #{@chapter_request.creator.try(:full_name) || "Unknown"}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment