ifunam/salva — Issue #134: Problems in update action for ConferenceTalks
Author: juarlex
Created: 2012-02-16 19:43:45+00:00
State: open

A ActiveRecord::ReadOnlyRecord occurred in conference_talks#update:

ActiveRecord::ReadOnlyRecord
activerecord (3.1.3) lib/active_record/persistence.rb:293:in `create_or_update'

-------------------------------
Request:
-------------------------------

* URL : https://salva.fisica.unam.mx/conference_talks/4112
* IP address: 201.124.30.171
* Parameters: {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios", "action"=>"update", "controller"=>"conference_talks", "id"=>"4112"}
* Rails root: /home/deployer/apps/salva

-------------------------------
Session:
-------------------------------

* session id: [FILTERED]
* data: {"warden.user.user.key"=>["User", [161], nil],
"warden.user.user.session"=>{"last_request_at"=>2012-02-10 01:27:13 UTC},
"_csrf_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU="}

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 1891
* CONTENT_TYPE : application/x-www-form-urlencoded
* DOCUMENT_ROOT : /home/deployer/apps/salva/public
* HTTPS : on
* 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 : es-MX,es;q=0.8,en-us;q=0.5,en;q=0.3
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : NREUM=s=1328837391602&r=140278&p=380686; _salva_session=a427ced7376e4582671c22065d170658
* HTTP_HOST : salva.fisica.unam.mx
* HTTP_REFERER : https://salva.fisica.unam.mx/conference_talks/4112/edit
* HTTP_USER_AGENT : Mozilla/5.0 (Windows NT 6.1; rv:9.0.1) Gecko/20100101 Firefox/9.0.1
* PASSENGER_APP_SPAWNER_IDLE_TIME : -1
* PASSENGER_APP_TYPE : rack
* PASSENGER_CONNECT_PASSWORD : [FILTERED]
* PASSENGER_DEBUGGER : false
* PASSENGER_ENVIRONMENT : production
* PASSENGER_FRAMEWORK_SPAWNER_IDLE_TIME : -1
* PASSENGER_FRIENDLY_ERROR_PAGES : true
* PASSENGER_GROUP :
* PASSENGER_MAX_REQUESTS : 0
* PASSENGER_MIN_INSTANCES : 1
* PASSENGER_SHOW_VERSION_IN_HEADER : true
* PASSENGER_SPAWN_METHOD : :smart
* PASSENGER_USER :
* PASSENGER_USE_GLOBAL_QUEUE : true
* PATH_INFO : /conference_talks/4112
* QUERY_STRING :
* REMOTE_ADDR : 201.124.30.171
* REMOTE_PORT : 50539
* REQUEST_METHOD : PUT
* REQUEST_URI : /conference_talks/4112
* SCGI : 1
* SCRIPT_NAME :
* SERVER_ADDR : 132.248.7.50
* SERVER_NAME : salva.fisica.unam.mx
* SERVER_PORT : 443
* SERVER_PROTOCOL : HTTP/1.1
* SERVER_SOFTWARE : nginx/1.0.10
* UNION_STATION_SUPPORT : false
* _ : _
* action_controller.instance : conference_talks#update
* action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/]
* action_dispatch.remote_ip : 201.124.30.171
* action_dispatch.request.content_type : application/x-www-form-urlencoded
* action_dispatch.request.formats : [text/html]
* action_dispatch.request.parameters : {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios", "action"=>"update", "controller"=>"conference_talks", "id"=>"4112"}
* action_dispatch.request.path_parameters : {:action=>"update", :controller=>"conference_talks", :id=>"4112"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters: {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios"}
* action_dispatch.routes : #
* action_dispatch.secret_token : 52d737e54b7c19af1c06c7101e405f842645b5c9446acd9cfa70bbdebf6aada443bb35460a5af20e3f93d567e59999fd6bd1d78ccc865b961c84318b4ebbf308
* action_dispatch.show_exceptions : true
* exception_notifier.options : {:sender_address=>"salva@fisica.unam.mx", :exception_recipients=>"alex@fisica.unam.mx", :email_prefix=>"[SALVA - Exception notification] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[ActiveRecord::RecordNotFound, AbstractController::ActionNotFound, ActionController::RoutingError]}
* rack-cache.allow_reload : false
* rack-cache.allow_revalidate : false
* rack-cache.cache_key : Rack::Cache::Key
* rack-cache.default_ttl : 0
* rack-cache.entitystore : rails:/
* rack-cache.metastore : rails:/
* rack-cache.private_headers : ["Authorization", "Cookie"]
* rack-cache.storage : #
* rack-cache.use_native_ttl : false
* rack-cache.verbose : true
* rack.errors : #
* rack.input : #
* rack.methodoverride.original_method : POST
* rack.multiprocess : true
* rack.multithread : false
* rack.request.cookie_hash : {"NREUM"=>"s=1328837391602&r=140278&p=380686", "_salva_session"=>"a427ced7376e4582671c22065d170658"}
* rack.request.cookie_string : NREUM=s=1328837391602&r=140278&p=380686; _salva_session=a427ced7376e4582671c22065d170658
* rack.request.form_hash : {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>"161", "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios"}
* rack.request.form_input : #
* rack.request.form_vars : utf8=%E2%9C%93&_method=put&authenticity_token=Tl6CCCmSTDylL%2BFfRyzho4LHCiCMS4bv%2BxfHCEjUtxU%3D&conference_talk%5Bauthors%5D=B.A.+Harmon%2C+Y.D.+Chan%2C+A.+Dacal%2C+D.E.+DiGregorio%2C+R.+Knopp%2C++M.E.+Ortiz%2C+J.+Pouliot%2C+R.G.+Stokstad%2C+C.+Moisan%2C+L.+Potvin++and+R.+Roy&conference_talk%5Btitle%5D=Projectile+Decomposition+by+Inelastic+and+Transfer+Reactions++in+Light-Heavy+Ion+Collisions+at+32.5+MeV%2Fn&conference_talk%5Btalktype_id%5D=6&conference_talk%5Btalkacceptance_id%5D=2&conference_talk%5Bmodality_id%5D=1&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Bid%5D=4164&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Bconferencetalk_id%5D=4112&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Buser_id%5D=161&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Broleinconferencetalk_id%5D=3&conference_talk%5Bconference_attributes%5D%5Bname%5D=Annual+Meeting+of+the+Division+of+Nuclear+Physics&conference_talk%5Bconference_attributes%5D%5Bconferencetype_id%5D=9&conference_talk%5Bconference_attributes%5D%5Bconferencescope_id%5D=2&conference_talk%5Bconference_attributes%5D%5Bcountry_id%5D=484&conference_talk%5Bconference_attributes%5D%5Byear%5D=1988&conference%5Bmonth%5D=2&conference_talk%5Bconference_attributes%5D%5Blocation%5D=Santa+Fe%2C+Nuevo+Mexico.+13-15+Octubre+1988.+BAPS+33%2C+1572%2C+1988&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B0%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B1%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B2%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B3%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bid%5D=5682&commit=Guardar+cambios
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : {"warden.user.user.key"=>["User", [161], nil], "warden.user.user.session"=>{"last_request_at"=>2012-02-10 01:27:13 UTC}, "_csrf_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU="}
* rack.session.options : {:key=>"_salva_session", :path=>"/", :domain=>nil, :expire_after=>1800 seconds, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :memcache_server=>["127.0.0.1:11211"], :namespace=>"sessions", :id=>"a427ced7376e4582671c22065d170658"}
* rack.url_scheme : https
* rack.version : [1, 0]
* warden : Warden::Proxy:103614810 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:ldap_authenticatable], :academic=>[:ldap_authenticatable]}, :intercept_401=>false, :failure_app=>#}

* Process: 29176
* Server : salva

-------------------------------
Backtrace:
-------------------------------

activerecord (3.1.3) lib/active_record/persistence.rb:293:in `create_or_update'
activerecord (3.1.3) lib/active_record/callbacks.rb:264:in `block in create_or_update'
activesupport (3.1.3) lib/active_support/callbacks.rb:453:in `_run_save_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
activerecord (3.1.3) lib/active_record/callbacks.rb:264:in `create_or_update'
activerecord (3.1.3) lib/active_record/persistence.rb:37:in `save'
activerecord (3.1.3) lib/active_record/validations.rb:50:in `save'
activerecord (3.1.3) lib/active_record/attribute_methods/dirty.rb:22:in `save'
activerecord (3.1.3) lib/active_record/transactions.rb:241:in `block (2 levels) in save'
activerecord (3.1.3) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:208:in `transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:491:in `block in transaction_with_trace_ActiveRecord_self_name_transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:486:in `transaction_with_trace_ActiveRecord_self_name_transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/transactions.rb:241:in `block in save'
activerecord (3.1.3) lib/active_record/transactions.rb:252:in `rollback_active_record_state!'
activerecord (3.1.3) lib/active_record/transactions.rb:240:in `save'
activerecord (3.1.3) lib/active_record/persistence.rb:163:in `block in update_attributes'
activerecord (3.1.3) lib/active_record/transactions.rb:295:in `block in with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/database_statements.rb:192:in `transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:208:in `transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:491:in `block in transaction_with_trace_ActiveRecord_self_name_transaction'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:486:in `transaction_with_trace_ActiveRecord_self_name_transaction'
activerecord (3.1.3) lib/active_record/transactions.rb:293:in `with_transaction_returning_status'
activerecord (3.1.3) lib/active_record/persistence.rb:161:in `update_attributes'
inherited_resources (1.3.0) lib/inherited_resources/base_helpers.rb:78:in `update_resource'
inherited_resources (1.3.0) lib/inherited_resources/actions.rb:45:in `update'
app/controllers/publication_controller.rb:58:in `update'
actionpack (3.1.3) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:167:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rendering.rb:10:in `process_action'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
activesupport (3.1.3) lib/active_support/callbacks.rb:452:in `_run__997308818__process_action__994942571__callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/abstract_controller/callbacks.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/rescue.rb:17:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `block in instrument'
activesupport (3.1.3) lib/active_support/notifications/instrumenter.rb:21:in `instrument'
activesupport (3.1.3) lib/active_support/notifications.rb:53:in `instrument'
actionpack (3.1.3) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
actionpack (3.1.3) lib/action_controller/metal/params_wrapper.rb:201:in `process_action'
activerecord (3.1.3) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:34:in `block in process_action'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:255:in `block in perform_action_with_newrelic_trace'
newrelic_rpm (3.3.1) lib/new_relic/agent/method_tracer.rb:242:in `trace_execution_scoped'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/controller_instrumentation.rb:250:in `perform_action_with_newrelic_trace'
newrelic_rpm (3.3.1) lib/new_relic/agent/instrumentation/rails3/action_controller.rb:33:in `process_action'
actionpack (3.1.3) lib/abstract_controller/base.rb:121:in `process'
actionpack (3.1.3) lib/abstract_controller/rendering.rb:45:in `process'
actionpack (3.1.3) lib/action_controller/metal.rb:193:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
actionpack (3.1.3) lib/action_controller/metal.rb:236:in `block in action'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:65:in `dispatch'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:29:in `call'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:152:in `block in call'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:96:in `block in recognize'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:68:in `optimized_each'
rack-mount (0.8.3) lib/rack/mount/code_generation.rb:95:in `recognize'
rack-mount (0.8.3) lib/rack/mount/route_set.rb:141:in `call'
actionpack (3.1.3) lib/action_dispatch/routing/route_set.rb:532:in `call'
newrelic_rpm (3.3.1) lib/new_relic/rack/browser_monitoring.rb:23:in `call'
barista (1.2.1) lib/barista/server.rb:33:in `call'
sass (3.1.12) lib/sass/plugin/rack.rb:54:in `call'
exception_notification (2.5.2) lib/exception_notifier.rb:25:in `call'
warden (1.1.0) lib/warden/manager.rb:35:in `block in call'
warden (1.1.0) lib/warden/manager.rb:34:in `catch'
warden (1.1.0) lib/warden/manager.rb:34:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
rack (1.3.6) lib/rack/etag.rb:23:in `call'
rack (1.3.6) lib/rack/conditionalget.rb:35:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/head.rb:14:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/flash.rb:247:in `call'
rack (1.3.6) lib/rack/session/abstract/id.rb:195:in `context'
rack (1.3.6) lib/rack/session/abstract/id.rb:190:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/cookies.rb:331:in `call'
activerecord (3.1.3) lib/active_record/query_cache.rb:64:in `call'
activerecord (3.1.3) lib/active_record/connection_adapters/abstract/connection_pool.rb:477:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
activesupport (3.1.3) lib/active_support/callbacks.rb:392:in `_run_call_callbacks'
activesupport (3.1.3) lib/active_support/callbacks.rb:81:in `run_callbacks'
actionpack (3.1.3) lib/action_dispatch/middleware/callbacks.rb:28:in `call'
rack (1.3.6) lib/rack/sendfile.rb:101:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
actionpack (3.1.3) lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
railties (3.1.3) lib/rails/rack/logger.rb:13:in `call'
rack (1.3.6) lib/rack/methodoverride.rb:24:in `call'
rack (1.3.6) lib/rack/runtime.rb:17:in `call'
activesupport (3.1.3) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
rack (1.3.6) lib/rack/lock.rb:15:in `call'
rack-ssl (1.3.2) lib/rack/ssl.rb:27:in `call'
rack-cache (1.1) lib/rack/cache/context.rb:132:in `forward'
rack-cache (1.1) lib/rack/cache/context.rb:139:in `pass'
rack-cache (1.1) lib/rack/cache/context.rb:151:in `invalidate'
rack-cache (1.1) lib/rack/cache/context.rb:70:in `call!'
rack-cache (1.1) lib/rack/cache/context.rb:50:in `call'
railties (3.1.3) lib/rails/engine.rb:456:in `call'
railties (3.1.3) lib/rails/railtie/configurable.rb:30:in `method_missing'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/request_handler.rb:96:in `process_request'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:513:in `accept_and_process_next_request'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_request_handler.rb:274:in `main_loop'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:206:in `start_request_handler'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:79:in `block in spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/utils.rb:479:in `safe_fork'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/rack/application_spawner.rb:64:in `spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:264:in `spawn_rack_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:137:in `spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/spawn_manager.rb:275:in `handle_spawn_application'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:357:in `server_main_loop'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously'
/home/deployer/.rvm/gems/ruby-1.9.3-p0/gems/passenger-3.0.11/helper-scripts/passenger-spawn-server:99:in `

'

salva@fisica.unam.mx
Feb 9 (7 days ago)

to alex
A ActiveRecord::ReadOnlyRecord occurred in conference_talks#update:

ActiveRecord::ReadOnlyRecord
activerecord (3.1.3) lib/active_record/persistence.rb:293:in `create_or_update'

-------------------------------
Request:
-------------------------------

* URL : https://salva.fisica.unam.mx/conference_talks/4112
* IP address: 201.124.30.171
* Parameters: {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios", "action"=>"update", "controller"=>"conference_talks", "id"=>"4112"}
* Rails root: /home/deployer/apps/salva

-------------------------------
Session:
-------------------------------

* session id: [FILTERED]
* data: {"warden.user.user.key"=>["User", [161], nil],
"warden.user.user.session"=>{"last_request_at"=>2012-02-10 01:27:55 UTC},
"_csrf_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU="}

-------------------------------
Environment:
-------------------------------

* CONTENT_LENGTH : 1891
* CONTENT_TYPE : application/x-www-form-urlencoded
* DOCUMENT_ROOT : /home/deployer/apps/salva/public
* HTTPS : on
* 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 : es-MX,es;q=0.8,en-us;q=0.5,en;q=0.3
* HTTP_CONNECTION : keep-alive
* HTTP_COOKIE : NREUM=s=1328837433448&r=140278&p=380686; _salva_session=a427ced7376e4582671c22065d170658
* action_dispatch.parameter_filter : [:password, /RAW_POST_DATA/, /RAW_POST_DATA/]
* action_dispatch.remote_ip : 201.124.30.171
* action_dispatch.request.content_type : application/x-www-form-urlencoded
* action_dispatch.request.formats : [text/html]
* action_dispatch.request.parameters : {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios", "action"=>"update", "controller"=>"conference_talks", "id"=>"4112"}
* action_dispatch.request.path_parameters : {:action=>"update", :controller=>"conference_talks", :id=>"4112"}
* action_dispatch.request.query_parameters : {}
* action_dispatch.request.request_parameters: {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>161, "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios"}
* action_dispatch.routes : #
* action_dispatch.secret_token : 52d737e54b7c19af1c06c7101e405f842645b5c9446acd9cfa70bbdebf6aada443bb35460a5af20e3f93d567e59999fd6bd1d78ccc865b961c84318b4ebbf308
* action_dispatch.show_exceptions : true
* exception_notifier.options : {:sender_address=>"salva@fisica.unam.mx", :exception_recipients=>"alex@fisica.unam.mx", :email_prefix=>"[SALVA - Exception notification] ", :sections=>["request", "session", "environment", "backtrace"], :ignore_exceptions=>[ActiveRecord::RecordNotFound, AbstractController::ActionNotFound, ActionController::RoutingError]}
* rack-cache.allow_reload : false
* rack-cache.allow_revalidate : false
* rack-cache.cache_key : Rack::Cache::Key
* rack-cache.default_ttl : 0
* rack-cache.entitystore : rails:/
* rack-cache.metastore : rails:/
* rack-cache.private_headers : ["Authorization", "Cookie"]
* rack-cache.storage : #
* rack-cache.use_native_ttl : false
* rack-cache.verbose : true
* rack.errors : #
* rack.input : #
* rack.methodoverride.original_method : POST
* rack.multiprocess : true
* rack.multithread : false
* rack.request.cookie_hash : {"NREUM"=>"s=1328837433448&r=140278&p=380686", "_salva_session"=>"a427ced7376e4582671c22065d170658"}
* rack.request.cookie_string : NREUM=s=1328837433448&r=140278&p=380686; _salva_session=a427ced7376e4582671c22065d170658
* rack.request.form_hash : {"utf8"=>"✓", "_method"=>"put", "authenticity_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU=", "conference_talk"=>{"authors"=>"B.A. Harmon, Y.D. Chan, A. Dacal, D.E. DiGregorio, R. Knopp, M.E. Ortiz, J. Pouliot, R.G. Stokstad, C. Moisan, L. Potvin and R. Roy", "title"=>"Projectile Decomposition by Inelastic and Transfer Reactions in Light-Heavy Ion Collisions at 32.5 MeV/n", "talktype_id"=>"6", "talkacceptance_id"=>"2", "modality_id"=>"1", "user_conferencetalks_attributes"=>{"0"=>{"id"=>"4164", "conferencetalk_id"=>"4112", "user_id"=>"161", "roleinconferencetalk_id"=>"3"}}, "conference_attributes"=>{"name"=>"Annual Meeting of the Division of Nuclear Physics", "conferencetype_id"=>"9", "conferencescope_id"=>"2", "country_id"=>"484", "year"=>"1988", "location"=>"Santa Fe, Nuevo Mexico. 13-15 Octubre 1988. BAPS 33, 1572, 1988", "conference_institutions_attributes"=>{"0"=>{"institution_id"=>"0"}, "1"=>{"institution_id"=>"0"}, "2"=>{"institution_id"=>"0"}, "3"=>{"institution_id"=>"0"}}, "id"=>"5682"}}, "conference"=>{"month"=>"2"}, "commit"=>"Guardar cambios"}
* rack.request.form_input : #
* rack.request.form_vars : utf8=%E2%9C%93&_method=put&authenticity_token=Tl6CCCmSTDylL%2BFfRyzho4LHCiCMS4bv%2BxfHCEjUtxU%3D&conference_talk%5Bauthors%5D=B.A.+Harmon%2C+Y.D.+Chan%2C+A.+Dacal%2C+D.E.+DiGregorio%2C+R.+Knopp%2C++M.E.+Ortiz%2C+J.+Pouliot%2C+R.G.+Stokstad%2C+C.+Moisan%2C+L.+Potvin++and+R.+Roy&conference_talk%5Btitle%5D=Projectile+Decomposition+by+Inelastic+and+Transfer+Reactions++in+Light-Heavy+Ion+Collisions+at+32.5+MeV%2Fn&conference_talk%5Btalktype_id%5D=6&conference_talk%5Btalkacceptance_id%5D=2&conference_talk%5Bmodality_id%5D=1&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Bid%5D=4164&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Bconferencetalk_id%5D=4112&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Buser_id%5D=161&conference_talk%5Buser_conferencetalks_attributes%5D%5B0%5D%5Broleinconferencetalk_id%5D=3&conference_talk%5Bconference_attributes%5D%5Bname%5D=Annual+Meeting+of+the+Division+of+Nuclear+Physics&conference_talk%5Bconference_attributes%5D%5Bconferencetype_id%5D=9&conference_talk%5Bconference_attributes%5D%5Bconferencescope_id%5D=2&conference_talk%5Bconference_attributes%5D%5Bcountry_id%5D=484&conference_talk%5Bconference_attributes%5D%5Byear%5D=1988&conference%5Bmonth%5D=2&conference_talk%5Bconference_attributes%5D%5Blocation%5D=Santa+Fe%2C+Nuevo+Mexico.+13-15+Octubre+1988.+BAPS+33%2C+1572%2C+1988&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B0%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B1%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B2%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bconference_institutions_attributes%5D%5B3%5D%5Binstitution_id%5D=0&conference_talk%5Bconference_attributes%5D%5Bid%5D=5682&commit=Guardar+cambios
* rack.request.query_hash : {}
* rack.request.query_string :
* rack.run_once : false
* rack.session : {"warden.user.user.key"=>["User", [161], nil], "warden.user.user.session"=>{"last_request_at"=>2012-02-10 01:27:55 UTC}, "_csrf_token"=>"Tl6CCCmSTDylL+FfRyzho4LHCiCMS4bv+xfHCEjUtxU="}
* rack.session.options : {:key=>"_salva_session", :path=>"/", :domain=>nil, :expire_after=>1800 seconds, :secure=>false, :httponly=>true, :defer=>false, :renew=>false, :memcache_server=>["127.0.0.1:11211"], :namespace=>"sessions", :id=>"a427ced7376e4582671c22065d170658"}
* rack.url_scheme : https
* rack.version : [1, 0]
* warden : Warden::Proxy:104061970 @config={:default_scope=>:user, :scope_defaults=>{}, :default_strategies=>{:user=>[:ldap_authenticatable], :academic=>[:ldap_authenticatable]}, :intercept_401=>false, :failure_app=>#}