Created
May 25, 2011 20:45
-
-
Save knowuh/991910 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
On Wed, May 25, 2011 at 4:17 PM, Exception Notifier <[email protected]> wrote: | |
A ActionView::TemplateError occurred in schools#index: | |
edit_portal_clazz_url failed to generate from {:controller=>"portal/clazzes", :action=>"edit"} - you may have ambiguous routes, or you may need to supply additional parameters for this route. content_url has the following required parameters: ["portal", "classes", :id, "edit"] - are they all satisfied? | |
On line #9 of app/views/portal/clazzes/_show.html.haml | |
6: .action_menu_header_left | |
7: .action_menu_header_right | |
8: -if portal_clazz.changeable? current_user | |
9: = link_to "edit", edit_portal_clazz_url | |
10: .block_list | |
11: %ul | |
12: %li | |
(eval):17:in `edit_portal_clazz_url' | |
app/views/portal/clazzes/_show.html.haml:9:in `_run_haml_app47views47portal47clazzes47_show46html46haml_locals_object_portal_clazz_show' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/shared/_classes_for_school.haml:2:in `_run_haml_app47views47shared47_classes_for_school46haml_locals_classes_for_school_object_portal_clazzes' | |
app/views/shared/_classes_for_school.haml:1:in `each' | |
app/views/shared/_classes_for_school.haml:1:in `_run_haml_app47views47shared47_classes_for_school46haml_locals_classes_for_school_object_portal_clazzes' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/portal/schools/_show.html.haml:9:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
app/helpers/application_helper.rb:222:in `wrap_edit_link_around_content' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:220:in `wrap_edit_link_around_content' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `capture_haml' | |
haml (3.0.25) lib/haml/helpers.rb:566:in `with_haml_buffer' | |
haml (3.0.25) lib/haml/helpers.rb:339:in `capture_haml' | |
app/helpers/application_helper.rb:218:in `wrap_edit_link_around_content' | |
app/views/portal/schools/_show.html.haml:6:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
app/helpers/application_helper.rb:307:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:305:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:283:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `capture_haml' | |
haml (3.0.25) lib/haml/helpers.rb:566:in `with_haml_buffer' | |
haml (3.0.25) lib/haml/helpers.rb:339:in `capture_haml' | |
app/helpers/application_helper.rb:282:in `accordion_for' | |
app/views/portal/schools/_show.html.haml:3:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/portal/schools/index.html.haml:2:in `_run_haml_app47views47portal47schools47index46html46haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render' | |
app/controllers/portal/schools_controller.rb:12:in `index' | |
compass (0.8.17) lib/compass/app_integration/rails/action_controller.rb:7:in `process' | |
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call' | |
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb:479:in `safe_fork' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `__send__' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:180:in `start' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `__send__' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server:99 | |
------------------------------- | |
Request: | |
------------------------------- | |
* URL : http://rites-investigations.concord.org/portal/schools | |
* IP address: 131.128.91.240 | |
* Parameters: {"action"=>"index", "controller"=>"portal/schools"} | |
* Rails root: /web/production/rites/releases/20110430022235 | |
------------------------------- | |
Session: | |
------------------------------- | |
* session id: nil | |
* data: nil | |
------------------------------- | |
Environment: | |
------------------------------- | |
* DOCUMENT_ROOT : /web/production/rites/current/public | |
* HTTP_ACCEPT : text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 | |
* HTTP_ACCEPT_CHARSET : ISO-8859-1,utf-8;q=0.7,*;q=0.7 | |
* HTTP_ACCEPT_ENCODING : gzip, deflate | |
* HTTP_ACCEPT_LANGUAGE : en-us,en;q=0.5 | |
* HTTP_CONNECTION : keep-alive | |
* HTTP_COOKIE : __utma=1.290786374.1298406884.1303319190.1304619861.10; __utmz=1.1300756136.7.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=concord%20consortium; _portal__clazz_13102=true; _bort_session=754492a1dbdc076b85f950c943df350f; auth_token= | |
* HTTP_HOST : rites-investigations.concord.org | |
* HTTP_KEEP_ALIVE : 115 | |
* HTTP_REFERER : http://rites-investigations.concord.org/ | |
* HTTP_USER_AGENT : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 | |
* PASSENGER_CONNECT_PASSWORD : [FILTERED] | |
* PATH_INFO : /portal/schools | |
* QUERY_STRING : | |
* REMOTE_ADDR : 131.128.91.240 | |
* REMOTE_PORT : 45448 | |
* REQUEST_METHOD : GET | |
* REQUEST_URI : /portal/schools | |
* SCRIPT_NAME : | |
* SCRIPT_URI : http://rites-investigations.concord.org/portal/schools | |
* SCRIPT_URL : /portal/schools | |
* SERVER_ADDR : 63.138.119.219 | |
* SERVER_ADMIN : root@localhost | |
* SERVER_NAME : rites-investigations.concord.org | |
* SERVER_PORT : 80 | |
* SERVER_PROTOCOL : HTTP/1.1 | |
* SERVER_SOFTWARE : Apache/2.2.3 (CentOS) | |
* _ : _ | |
* action_controller.request.path_parameters : actionindexcontrollerportal/schools | |
* action_controller.request.query_parameters : | |
* action_controller.request.request_parameters: | |
* action_controller.rescue.request : #<ActionController::Request:0xb58ec5b4> | |
* action_controller.rescue.response : #<ActionController::Response:0xb58ec398> | |
* rack.errors : #<IO:0xb7f6d558> | |
* rack.input : #<PhusionPassenger::Utils::RewindableInput:0xb58ecfa0> | |
* rack.multiprocess : true | |
* rack.multithread : false | |
* rack.request.cookie_hash : __utma1.290786374.1298406884.1303319190.1304619861.10__utmz1.1300756136.7.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=concord consortium_bort_session754492a1dbdc076b85f950c943df350fauth_token_portal__clazz_13102true | |
* rack.request.cookie_string : __utma=1.290786374.1298406884.1303319190.1304619861.10; __utmz=1.1300756136.7.2.utmcsr=google|utmccn=(organic)|utmcmd=organic|utmctr=concord%20consortium; _portal__clazz_13102=true; _bort_session=754492a1dbdc076b85f950c943df350f; auth_token= | |
* rack.request.query_hash : | |
* rack.request.query_string : | |
* rack.run_once : false | |
* rack.session : user_id17622original_user_id17622flash | |
* rack.session.options : securefalseexpire_aftersecret924cdf373582bbc17ac32060921e6f028a996bb85bbb4b4d7d8cb8c98ef18615a793e676e511e0143708ee7c243c89605bcfdfaa339ed649e58e2fbd6498e117httponlytruekey_bort_sessioncookie_onlytruedomainid754492a1dbdc076b85f950c943df350fpath/ | |
* rack.session.record : #<ActiveRecord::SessionStore::Session:0xb58e9030> | |
* rack.url_scheme : http | |
* rack.version : 10 | |
* Process: 22277 | |
* Server : BumblebeeMan | |
------------------------------- | |
Backtrace: | |
------------------------------- | |
On line #9 of app/views/portal/clazzes/_show.html.haml | |
6: .action_menu_header_left | |
7: .action_menu_header_right | |
8: -if portal_clazz.changeable? current_user | |
9: = link_to "edit", edit_portal_clazz_url | |
10: .block_list | |
11: %ul | |
12: %li | |
(eval):17:in `edit_portal_clazz_url' | |
app/views/portal/clazzes/_show.html.haml:9:in `_run_haml_app47views47portal47clazzes47_show46html46haml_locals_object_portal_clazz_show' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/shared/_classes_for_school.haml:2:in `_run_haml_app47views47shared47_classes_for_school46haml_locals_classes_for_school_object_portal_clazzes' | |
app/views/shared/_classes_for_school.haml:1:in `each' | |
app/views/shared/_classes_for_school.haml:1:in `_run_haml_app47views47shared47_classes_for_school46haml_locals_classes_for_school_object_portal_clazzes' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/portal/schools/_show.html.haml:9:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
app/helpers/application_helper.rb:222:in `wrap_edit_link_around_content' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:220:in `wrap_edit_link_around_content' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `capture_haml' | |
haml (3.0.25) lib/haml/helpers.rb:566:in `with_haml_buffer' | |
haml (3.0.25) lib/haml/helpers.rb:339:in `capture_haml' | |
app/helpers/application_helper.rb:218:in `wrap_edit_link_around_content' | |
app/views/portal/schools/_show.html.haml:6:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
app/helpers/application_helper.rb:307:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:305:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:490:in `haml_tag' | |
app/helpers/application_helper.rb:283:in `accordion_for' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `call' | |
haml (3.0.25) lib/haml/helpers.rb:343:in `capture_haml' | |
haml (3.0.25) lib/haml/helpers.rb:566:in `with_haml_buffer' | |
haml (3.0.25) lib/haml/helpers.rb:339:in `capture_haml' | |
app/helpers/application_helper.rb:282:in `accordion_for' | |
app/views/portal/schools/_show.html.haml:3:in `_run_haml_app47views47portal47schools47_show46html46haml_locals_object_portal_school_portal_school_counter_show_show_counter' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:11:in `render' | |
app/views/portal/schools/index.html.haml:2:in `_run_haml_app47views47portal47schools47index46html46haml' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render' | |
haml (3.0.25) lib/haml/helpers/action_view_mods.rb:13:in `render' | |
app/controllers/portal/schools_controller.rb:12:in `index' | |
compass (0.8.17) lib/compass/app_integration/rails/action_controller.rb:7:in `process' | |
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call' | |
haml (3.0.25) lib/sass/plugin/rack.rb:41:in `call' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:321:in `start_request_handler' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `send' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:275:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/utils.rb:479:in `safe_fork' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:270:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `__send__' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:180:in `start' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/classic_rails/application_spawner.rb:149:in `start' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:219:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:132:in `lookup_or_add' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:214:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:82:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server_collection.rb:79:in `synchronize' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:213:in `spawn_rails_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:132:in `spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `__send__' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' | |
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/helper-scripts/passenger-spawn-server:99 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment