Created
December 2, 2015 06:14
-
-
Save anonymous/0615d2cfff0c8ae34dde 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
Started GET "/realizacija" for 127.0.0.1 at 2015-12-02 07:01:46 +0100 | |
Processing by RealizationsController#index as HTML | |
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 17 ORDER BY "users"."id" ASC LIMIT 1 | |
SQL (7.7ms) USE [VeplasRTM] | |
RTMYearName Load (8.6ms) EXEC sp_executesql N'SELECT TOP (1) [mm_year_plan].* FROM [mm_year_plan] WHERE [mm_year_plan].[year] = N''2015''' | |
Completed 500 Internal Server Error in 615ms (ActiveRecord: 405.3ms) | |
NoMethodError (undefined method `[]' for nil:NilClass): | |
app/models/RTM/rtm_year_plan.rb:14:in `find_by_year_and_month' | |
app/models/RTM/rtm_year_plan.rb:19:in `calculate_for' | |
app/models/RTM/rtm_year_plan.rb:28:in `block in calculate_year' | |
app/models/RTM/rtm_year_plan.rb:26:in `calculate_year' | |
app/models/realization.rb:5:in `yearly_plan' | |
app/models/realization.rb:41:in `calculate' | |
app/controllers/realizations_controller.rb:4:in `index' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment