Hi,
I don't know why, but I'm getting a DoubleRenderError in production,
whenver I create a new model instance.
This doesn't happen in development. Have a clue???
ActionController::DoubleRenderError (Can only render or redirect once
per action):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:865:in `render_without_benchmark'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:51:in `render_without_hobo_model'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
core_ext/benchmark.rb:8:in `realtime'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
benchmarking.rb:51:in `render_without_hobo_model'
/vendor/plugins/hobo/hobo/lib/hobo/model_controller.rb:752:in
`render'
/vendor/plugins/hobo/hobo/lib/hobo/dryml/template_handler.rb:61:in
`render_tag'
/vendor/plugins/hobo/hobo/lib/hobo/model_controller.rb:719:in
`not_found'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
rescuable.rb:73:in `call'
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
rescuable.rb:73:in `rescue_with_handler'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
rescue.rb:61:in `rescue_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
rescue.rb:138:in `perform_action_without_caching'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
caching/sql_cache.rb:13:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
connection_adapters/abstract/query_cache.rb:34:in `cache'
/usr/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
query_cache.rb:8:in `cache'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
caching/sql_cache.rb:12:in `perform_action'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:524:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:524:in `process_without_filters'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
filters.rb:606:in `process_without_session_management_support'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
session_management.rb:134:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
base.rb:392:in `process'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:183:in `handle_request'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:110:in `dispatch_unlocked'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:123:in `dispatch'
/usr/lib/ruby/1.8/thread.rb:135:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:122:in `dispatch'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:132:in `dispatch_cgi'
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/
dispatcher.rb:39: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'
/home/heroku_rack/lib/toolbar.rb:15:in `call'
/home/heroku_rack/lib/static_assets.rb:9:in `call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/urlmap.rb:42:in
`call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/urlmap.rb:35:in
`each'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/urlmap.rb:35:in
`call'
/usr/lib/ruby/gems/1.8/gems/rack-0.4.0/lib/rack/builder.rb:53: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
Regards,
TF
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---