Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Processing PlansController#skill_panel (for 127.0.0.1 at 2009-05-28 01:20:52) [GET]
- Parameters: {"action"=>"skill_panel", "id"=>"3731", "controller"=>"plans", "character_id"=>"929361782", "plan_id"=>"1"}
- User Columns (1.3ms) SHOW FIELDS FROM `users`
- User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1
- Character Columns (1.5ms) SHOW FIELDS FROM `characters`
- Character Load (0.1ms) SELECT `characters`.* FROM `characters` INNER JOIN `api_keys` ON `characters`.api_key_id = `api_keys`.id WHERE (`characters`.`id` = 929361782 AND ((`api_keys`.user_id = 1))) ORDER BY skill_points desc
- Skill Load (0.2ms) SELECT `skills`.* FROM `skills` WHERE (`skills`.character_id = 929361782)
- Skill Columns (0.8ms) SHOW FIELDS FROM `skills`
- ImplantSet Load (0.1ms) SELECT `implant_sets`.* FROM `implant_sets` WHERE (`implant_sets`.character_id = 929361782)
- ImplantSet Columns (1.0ms) SHOW FIELDS FROM `implant_sets`
- Type Columns (1.4ms) SHOW FIELDS FROM `types`
- Type Load (0.2ms) SELECT * FROM `types` WHERE (`types`.`id` = 3731)
- Plan Columns (0.9ms) SHOW FIELDS FROM `plans`
- Plan Load (0.1ms) SELECT * FROM `plans` WHERE (`plans`.`id` = 1 AND (`plans`.character_id = 929361782))
- PlannedSkill Columns (0.9ms) SHOW FIELDS FROM `planned_skills`
- Rendering plans/skill_panel
- Attribute Load (0.1ms) SELECT id FROM `attributes` WHERE (name LIKE 'requiredSkill%')
- TypeAttribute Load (0.1ms) SELECT * FROM `type_attributes` WHERE (`type_attributes`.type_id = 3731 AND (`type_attributes`.`attribute_id` IN (NULL)))
- Skill Load (0.1ms) SELECT * FROM `skills` WHERE (`skills`.`character_id` = 929361782 AND `skills`.`type_id` = 3731) LIMIT 1
- PlannedSkill Load (0.1ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- CACHE (0.0ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- CACHE (0.0ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- CACHE (0.0ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- CACHE (0.0ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- CACHE (0.0ms) SELECT * FROM `planned_skills` WHERE (`planned_skills`.plan_id = 1 AND (`planned_skills`.`type_id` = 3731)) ORDER BY level DESC, position LIMIT 1
- TypeAttribute Load (0.1ms) SELECT * FROM `type_attributes` WHERE (`type_attributes`.type_id = 3731)
- ActionView::TemplateError (nil can't be coerced into Float) on line #34 of app/views/plans/skill_panel.html.haml:
- 31: %td= l[1]
- 32: %td
- 33: %div{:align=>'center'}= radio_button_tag :planned_skill_level, l[0]
- 34: %td= time_period_to_s(@character.training_time_with_prerequisites(@type,l[0]))
- 35: =hidden_field_tag :planned_skill_type_id, @type.id
- 36: %p=submit_tag 'Add to plan'
- 37: #status
- app/models/type.rb:69:in `_unmemoized_sp_at_level'
- app/models/character.rb:136:in `training_time'
- app/models/character.rb:157:in `training_time_with_prerequisites'
- app/models/character.rb:156:in `each_pair'
- app/models/character.rb:156:in `training_time_with_prerequisites'
- app/views/plans/skill_panel.html.haml:34:in `_run_haml_app47views47plans47skill_panel46html46haml'
- app/views/plans/skill_panel.html.haml:28:in `each'
- app/views/plans/skill_panel.html.haml:28:in `_run_haml_app47views47plans47skill_panel46html46haml'
- haml (2.0.9) lib/haml/helpers/action_view_mods.rb:142:in `call'
- haml (2.0.9) lib/haml/helpers/action_view_mods.rb:142:in `form_tag'
- haml (2.0.9) lib/haml/helpers.rb:447:in `call'
- haml (2.0.9) lib/haml/helpers.rb:447:in `haml_bind_proc'
- haml (2.0.9) lib/haml/helpers.rb:261:in `call'
- haml (2.0.9) lib/haml/helpers.rb:261:in `capture_haml'
- haml (2.0.9) lib/haml/helpers.rb:430:in `with_haml_buffer'
- haml (2.0.9) lib/haml/helpers.rb:258:in `capture_haml'
- haml (2.0.9) lib/haml/helpers/action_view_mods.rb:90:in `capture'
- haml (2.0.9) lib/haml/helpers/action_view_mods.rb:148:in `form_tag'
- app/views/plans/skill_panel.html.haml:11:in `_run_haml_app47views47plans47skill_panel46html46haml'
- haml (2.0.9) lib/haml/helpers/action_view_mods.rb:14:in `render'
- haml (2.0.9) rails/./lib/sass/plugin/rails.rb:19:in `process'
- Rendered rescues/_trace (173.2ms)
- Rendered rescues/_request_and_response (0.5ms)
- Rendering rescues/layout (internal_server_error)
Add Comment
Please, Sign In to add comment