Issue #3027 has been updated by Rein Henrichs. Status changed from Unreviewed to Accepted
---------------------------------------- Bug #3027: "undefined method `parameter_path' " in _timeline_event.haml http://projects.reductivelabs.com/issues/3027 Author: Joseph Wolff Status: Accepted Priority: Normal Assigned to: Category: Target version: Keywords: traceback, template, haml Branch: Here's the error and traceback: ActionView::TemplateError (undefined method `parameter_path' for #<ActionView::Base:0xb5e4ae48>) on line #16 of app/views/timeline_events/_timeline_event.haml: 13: %span.type{:class => "#{primary_class.downcase} type"} 14: %span= primary_class.titleize 15: = link_to_unless secondary || resource == subject, subject_name, primary 16: was 17: = te.event_type.tr('_', ' ') 18: - if secondary 19: - secondary_name = resource == secondary ? "this #{secondary.class.name.downcase}" : "#{secondary.class.name} #{secondary.name.capitalize}" app/views/timeline_events/_timeline_event.haml:16:in `_run_haml_app47views47timeline_events47_timeline_event46haml_locals_object_timeline_event_timeline_event_counter' haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:11:in `render' haml (2.2.2) [v] lib/haml/helpers.rb:96:in `non_haml' haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:11:in `render' app/views/pages/home.html.haml:40:in `_run_haml_app47views47pages47home46html46haml' haml (2.2.2) [v] lib/haml/helpers.rb:325:in `call' haml (2.2.2) [v] lib/haml/helpers.rb:325:in `capture_haml' haml (2.2.2) [v] lib/haml/helpers.rb:520:in `with_haml_buffer' haml (2.2.2) [v] lib/haml/helpers.rb:321:in `capture_haml' haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:86:in `capture' app/views/pages/home.html.haml:37:in `_run_haml_app47views47pages47home46html46haml' haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:13:in `render' haml (2.2.2) [v] lib/haml/helpers/action_view_mods.rb:13:in `render' haml (2.2.2) [v] rails/./lib/sass/plugin/rails.rb:19:in `process' passenger (2.2.9) lib/phusion_passenger/rack/request_handler.rb:92:in `process_request' passenger (2.2.9) lib/phusion_passenger/abstract_request_handler.rb:207:in `main_loop' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:400:in `start_request_handler' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:351:in `handle_spawn_application' passenger (2.2.9) lib/phusion_passenger/utils.rb:184:in `safe_fork' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:349:in `handle_spawn_application' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:163:in `start' passenger (2.2.9) lib/phusion_passenger/railz/application_spawner.rb:209:in `start' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:262:in `spawn_rails_application' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:126:in `lookup_or_add' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:256:in `spawn_rails_application' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:80:in `synchronize' passenger (2.2.9) lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:255:in `spawn_rails_application' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:154:in `spawn_application' passenger (2.2.9) lib/phusion_passenger/spawn_manager.rb:287:in `handle_spawn_application' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `__send__' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:352:in `main_loop' passenger (2.2.9) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously' Rendering /var/www/puppet-dashboard/public/500.html (500 Internal Server Error) Here's my environment: Ubuntu 9.10, Apache Phusion Passenger 2.29 installed fm Gem per instructions mysql production database (same as development), with sample data I installed it a week or two ago, it and it worked. I added one test node today, looked at a few pages and a report, now the home page / dashboard won't lead - it gives the above error in the log. I git-pulled today's updates (Jan 10 2010), no help. Joe -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://reductivelabs.com/redmine/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
