Created
August 21, 2008 03:41
-
-
Save anonymous/6502 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
| ActiveRecord::SerializationTypeMismatch in Press_releases#new | |
| Showing app/views/press_releases/_form.rhtml where line #17 raised: | |
| contacts was supposed to be a Hash, but was a NilClass | |
| Extracted source (around line #17): | |
| 14: <p> | |
| 15: <% 0.upto(5) do |count| %> | |
| 16: <p> | |
| 17: Name: <%= text_field_tag("press_release[contacts][#{count}][name]", @press_release.contacts[count.to_s][:name]) %> | |
| 18: Company: <%= text_field_tag("press_release[contacts][#{count}][company_name]", @press_release.contacts[count.to_s][:company_name]) %> | |
| 19: Email: <%= text_field_tag("press_release[contacts][#{count}][email]", @press_release.contacts[count.to_s][:email]) %> | |
| 20: Phone: <%= text_field_tag("press_release[contacts][#{count}][phone]", @press_release.contacts[count.to_s][:phone]) %> | |
| Trace of template inclusion: /app/views/press_releases/new.rhtml | |
| RAILS_ROOT: /home/lwallenstein/workspace/clients/fiveruns/dotcom/config/.. | |
| Application Trace | Framework Trace | Full Trace | |
| #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1964:in `unserialize_attribute' | |
| (eval):1:in `contacts' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:17:in `_run_rhtml_47app47views47press_releases47_form46rhtml' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:15:in `upto' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:15:in `_run_rhtml_47app47views47press_releases47_form46rhtml' | |
| #{RAILS_ROOT}/app/views/press_releases/new.rhtml:4:in `_run_rhtml_47app47views47press_releases47new46rhtml' | |
| #{RAILS_ROOT}/app/views/press_releases/new.rhtml:3:in `_run_rhtml_47app47views47press_releases47new46rhtml' | |
| /usr/bin/thin:19:in `load' | |
| /usr/bin/thin:19 | |
| #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1964:in `unserialize_attribute' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial_without_record_identification' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial_without_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/av_extensions.rb:6:in `render_partial' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:151:in `fields_for' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:127:in `form_for_without_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:15:in `send' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:15:in `form_method_with_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:5:in `form_for' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:711:in `render_with_no_layout' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:247:in `render_without_benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1096:in `perform_action_without_filters' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process' | |
| #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data' | |
| /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine' | |
| /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6 | |
| #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/base.rb:1964:in `unserialize_attribute' | |
| (eval):1:in `contacts' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:17:in `_run_rhtml_47app47views47press_releases47_form46rhtml' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:15:in `upto' | |
| #{RAILS_ROOT}/app/views/press_releases/_form.rhtml:15:in `_run_rhtml_47app47views47press_releases47_form46rhtml' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:275:in `render' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:59:in `render_partial_without_record_identification' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| /usr/lib/ruby/1.8/benchmark.rb:307:in `realtime' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:26:in `benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/partials.rb:58:in `render_partial_without_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/av_extensions.rb:6:in `render_partial' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:287:in `render' | |
| #{RAILS_ROOT}/app/views/press_releases/new.rhtml:4:in `_run_rhtml_47app47views47press_releases47new46rhtml' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:151:in `fields_for' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/form_helper.rb:127:in `form_for_without_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:15:in `send' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:15:in `form_method_with_record_identification' | |
| #{RAILS_ROOT}/vendor/plugins/simply_helpful/lib/simply_helpful/form_helper_extensions.rb:5:in `form_for' | |
| #{RAILS_ROOT}/app/views/press_releases/new.rhtml:3:in `_run_rhtml_47app47views47press_releases47new46rhtml' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:326:in `compile_and_render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:301:in `render_template' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/base.rb:260:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:806:in `render_file' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:711:in `render_with_no_layout' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/layout.rb:247:in `render_without_benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:50:in `render' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:1096:in `perform_action_without_filters' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:632:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:638:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:438:in `call' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:637:in `call_filter' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:619:in `perform_action_without_benchmark' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' | |
| /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/benchmarking.rb:66:in `perform_action_without_rescue' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/rescue.rb:83:in `perform_action' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `send' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:430:in `process_without_filters' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/filters.rb:624:in `process_without_session_management_support' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/session_management.rb:114:in `process' | |
| #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_controller/base.rb:330:in `process' | |
| #{RAILS_ROOT}/vendor/rails/railties/lib/dispatcher.rb:41:in `dispatch' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:54:in `serve_rails' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/rack/adapter/rails.rb:74:in `call' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:59:in `pre_process' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:50:in `process' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/connection.rb:35:in `receive_data' | |
| /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run_machine' | |
| /usr/lib/ruby/gems/1.8/gems/eventmachine-0.12.0/lib/eventmachine.rb:224:in `run' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/backends/base.rb:45:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/server.rb:146:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/controllers/controller.rb:79:in `start' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `send' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:166:in `run_command' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/lib/thin/runner.rb:136:in `run!' | |
| /usr/lib/ruby/gems/1.8/gems/thin-0.8.2/bin/thin:6 | |
| /usr/bin/thin:19:in `load' | |
| /usr/bin/thin:19 | |
| Request | |
| Parameters: None | |
| Show session dump | |
| --- | |
| :user_id: 14 | |
| :requested_page: | |
| flash: !map:ActionController::Flash::FlashHash {} | |
| Response | |
| Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment