Created
March 5, 2014 21:32
-
-
Save dgonzo/9377087 to your computer and use it in GitHub Desktop.
This file contains 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
Retrieving data for: Charter Ranches Academy | |
rake aborted! | |
undefined method `year' for nil:NilClass | |
/var/www/releases/20140305203233/app/models/enrollment.rb:16:in `enrollment_year' | |
/var/www/releases/20140305203233/app/services/report_service.rb:210:in `block in get_years_from_enrollments' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:13:in `each' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activerecord-4.0.0/lib/active_record/relation/delegation.rb:13:in `each' | |
/var/www/releases/20140305203233/app/services/report_service.rb:208:in `get_years_from_enrollments' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:23:in `block in load_data' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:17:in `each' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:17:in `load_data' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:31:in `block in load_report_from_cache' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache.rb:298:in `block in fetch' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache.rb:558:in `block in save_block_result_to_cache' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache.rb:519:in `instrument' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache.rb:557:in `save_block_result_to_cache' | |
/var/www/shared/bundle/ruby/2.0.0/gems/activesupport-4.0.0/lib/active_support/cache.rb:298:in `fetch' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:30:in `load_report_from_cache' | |
/var/www/releases/20140305203233/app/services/district_info_service.rb:7:in `initialize' | |
/var/www/releases/20140305203233/app/models/report.rb:39:in `new' | |
/var/www/releases/20140305203233/app/models/report.rb:39:in `generate_report' | |
/var/www/releases/20140305203233/lib/tasks/file_cache.rake:10:in `block (3 levels) in <top (required)>' | |
/var/www/releases/20140305203233/lib/tasks/file_cache.rake:6:in `each' | |
/var/www/releases/20140305203233/lib/tasks/file_cache.rake:6:in `block (2 levels) in <top (required)>' | |
/usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval' | |
/usr/local/rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>' | |
Tasks: TOP => cache:schools | |
(See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment