juanantonioruz / aceitoso

rails, processingjs, openlayers, xml, mysql ...... UI based in askken
3 stars 1 forks source link

editar hito sin icono de servicio peta! #151

Closed marionn closed 12 years ago

marionn commented 12 years ago

+intento editar molinodelmedio>hito>sanblas y me sale NoMethodError in HitosController#update

undefined method `remove_previously_stored_files_after_update' for "":String

Rails.root: /home/enjava/olearum Application Trace | Framework Trace | Full Trace

app/controllers/hitos_controller.rb:47:in `update'

carrierwave (0.6.2) lib/carrierwave/mount.rb:239:in store_previous_model_for_imagen' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in_run865875952update4callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in _run_update_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' activerecord (3.2.1) lib/active_record/callbacks.rb:272:inupdate' activerecord (3.2.1) lib/active_record/persistence.rb:344:in create_or_update' activerecord (3.2.1) lib/active_record/callbacks.rb:264:increate_or_update' activesupport (3.2.1) lib/active_support/callbacks.rb:458:in _run__865875952__save__4__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in_run_save_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks' activerecord (3.2.1) lib/active_record/callbacks.rb:264:in create_or_update' activerecord (3.2.1) lib/active_record/persistence.rb:84:insave' activerecord (3.2.1) lib/active_record/validations.rb:50:in save' activerecord (3.2.1) lib/active_record/attribute_methods/dirty.rb:22:insave' activerecord (3.2.1) lib/active_record/transactions.rb:241:in save' activerecord (3.2.1) lib/active_record/transactions.rb:295:inwith_transaction_returning_status' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/database_statements.rb:190:in transaction' activerecord (3.2.1) lib/active_record/transactions.rb:208:intransaction' activerecord (3.2.1) lib/active_record/transactions.rb:293:in with_transaction_returning_status' activerecord (3.2.1) lib/active_record/transactions.rb:241:insave' activerecord (3.2.1) lib/active_record/transactions.rb:252:in rollback_active_record_state!' activerecord (3.2.1) lib/active_record/transactions.rb:240:insave' activerecord (3.2.1) lib/active_record/persistence.rb:213:in update_attributes' activerecord (3.2.1) lib/active_record/transactions.rb:295:inwith_transaction_returning_status' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/database_statements.rb:190:in transaction' activerecord (3.2.1) lib/active_record/transactions.rb:208:intransaction' activerecord (3.2.1) lib/active_record/transactions.rb:293:in with_transaction_returning_status' activerecord (3.2.1) lib/active_record/persistence.rb:211:inupdate_attributes' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:insend_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:in process_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:inprocess_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:in process_action' activesupport (3.2.1) lib/active_support/callbacks.rb:425:in_run579674617process_action944252406callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in _run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:in process_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:inprocess_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:in instrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:in instrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:in process_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:in process' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.1) lib/action_controller/metal.rb:203:in dispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:in action' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:incall' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:in dispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:incall' journey (1.0.3) lib/journey/router.rb:68:in call' journey (1.0.3) lib/journey/router.rb:56:ineach' journey (1.0.3) lib/journey/router.rb:56:in call' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:incall' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:in call' rack (1.4.1) lib/rack/etag.rb:23:incall' rack (1.4.1) lib/rack/conditionalget.rb:35:in call' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:in call' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.1) lib/rack/session/abstract/id.rb:205:in context' rack (1.4.1) lib/rack/session/abstract/id.rb:200:incall' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:in call' activerecord (3.2.1) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in call' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:incall' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in _run__397314981__call__4__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in_run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in call' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:incall' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:in call' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:incall' railties (3.2.1) lib/rails/rack/logger.rb:26:in call_app' railties (3.2.1) lib/rails/rack/logger.rb:16:incall' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in call' rack (1.4.1) lib/rack/methodoverride.rb:21:incall' rack (1.4.1) lib/rack/runtime.rb:17:in call' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:incall' rack (1.4.1) lib/rack/lock.rb:15:in call' rack-cache (1.2) lib/rack/cache/context.rb:136:inforward' rack-cache (1.2) lib/rack/cache/context.rb:143:in pass' rack-cache (1.2) lib/rack/cache/context.rb:155:ininvalidate' rack-cache (1.2) lib/rack/cache/context.rb:71:in call!' rack-cache (1.2) lib/rack/cache/context.rb:51:incall' railties (3.2.1) lib/rails/engine.rb:479:in call' railties (3.2.1) lib/rails/application.rb:220:incall' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in send' railties (3.2.1) lib/rails/railtie/configurable.rb:30:inmethod_missing' passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:in process_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:inaccept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:in main_loop' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:205:instart_request_handler' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:170:in send' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:170:inhandle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:in safe_fork' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:165:inhandle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in __send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:instart' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:128:instart' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:253:inspawn_rack_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:inlookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:246:inspawn_rack_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:insynchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:insynchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:244:inspawn_rack_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:137:inspawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:inhandle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:insend' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99

carrierwave (0.6.2) lib/carrierwave/mount.rb:239:in store_previous_model_for_imagen' activesupport (3.2.1) lib/active_support/callbacks.rb:407:in_run865875952update4callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in _run_update_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' activerecord (3.2.1) lib/active_record/callbacks.rb:272:inupdate' activerecord (3.2.1) lib/active_record/persistence.rb:344:in create_or_update' activerecord (3.2.1) lib/active_record/callbacks.rb:264:increate_or_update' activesupport (3.2.1) lib/active_support/callbacks.rb:458:in _run__865875952__save__4__callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in __run_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in_run_save_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks' activerecord (3.2.1) lib/active_record/callbacks.rb:264:in create_or_update' activerecord (3.2.1) lib/active_record/persistence.rb:84:insave' activerecord (3.2.1) lib/active_record/validations.rb:50:in save' activerecord (3.2.1) lib/active_record/attribute_methods/dirty.rb:22:insave' activerecord (3.2.1) lib/active_record/transactions.rb:241:in save' activerecord (3.2.1) lib/active_record/transactions.rb:295:inwith_transaction_returning_status' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/database_statements.rb:190:in transaction' activerecord (3.2.1) lib/active_record/transactions.rb:208:intransaction' activerecord (3.2.1) lib/active_record/transactions.rb:293:in with_transaction_returning_status' activerecord (3.2.1) lib/active_record/transactions.rb:241:insave' activerecord (3.2.1) lib/active_record/transactions.rb:252:in rollback_active_record_state!' activerecord (3.2.1) lib/active_record/transactions.rb:240:insave' activerecord (3.2.1) lib/active_record/persistence.rb:213:in update_attributes' activerecord (3.2.1) lib/active_record/transactions.rb:295:inwith_transaction_returning_status' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/database_statements.rb:190:in transaction' activerecord (3.2.1) lib/active_record/transactions.rb:208:intransaction' activerecord (3.2.1) lib/active_record/transactions.rb:293:in with_transaction_returning_status' activerecord (3.2.1) lib/active_record/persistence.rb:211:inupdate_attributes' app/controllers/hitos_controller.rb:47:in update' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:insend_action' actionpack (3.2.1) lib/action_controller/metal/implicit_render.rb:4:in send_action' actionpack (3.2.1) lib/abstract_controller/base.rb:167:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/rendering.rb:10:in process_action' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:18:inprocess_action' activesupport (3.2.1) lib/active_support/callbacks.rb:425:in `_run579674617process_action944252406callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in_run_process_action_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:81:inrun_callbacks' actionpack (3.2.1) lib/abstract_controller/callbacks.rb:17:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/rescue.rb:29:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:30:inprocess_action' activesupport (3.2.1) lib/active_support/notifications.rb:123:ininstrument' activesupport (3.2.1) lib/active_support/notifications/instrumenter.rb:20:ininstrument' activesupport (3.2.1) lib/active_support/notifications.rb:123:ininstrument' actionpack (3.2.1) lib/action_controller/metal/instrumentation.rb:29:inprocess_action' actionpack (3.2.1) lib/action_controller/metal/params_wrapper.rb:205:inprocess_action' activerecord (3.2.1) lib/active_record/railties/controller_runtime.rb:18:inprocess_action' actionpack (3.2.1) lib/abstract_controller/base.rb:121:inprocess' actionpack (3.2.1) lib/abstract_controller/rendering.rb:45:inprocess' actionpack (3.2.1) lib/action_controller/metal.rb:203:indispatch' actionpack (3.2.1) lib/action_controller/metal/rack_delegation.rb:14:indispatch' actionpack (3.2.1) lib/action_controller/metal.rb:246:inaction' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:incall' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:66:indispatch' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:30:incall' journey (1.0.3) lib/journey/router.rb:68:incall' journey (1.0.3) lib/journey/router.rb:56:ineach' journey (1.0.3) lib/journey/router.rb:56:incall' actionpack (3.2.1) lib/action_dispatch/routing/route_set.rb:589:incall' actionpack (3.2.1) lib/action_dispatch/middleware/best_standards_support.rb:17:incall' rack (1.4.1) lib/rack/etag.rb:23:incall' rack (1.4.1) lib/rack/conditionalget.rb:35:incall' actionpack (3.2.1) lib/action_dispatch/middleware/head.rb:14:incall' actionpack (3.2.1) lib/action_dispatch/middleware/params_parser.rb:21:incall' actionpack (3.2.1) lib/action_dispatch/middleware/flash.rb:242:incall' rack (1.4.1) lib/rack/session/abstract/id.rb:205:incontext' rack (1.4.1) lib/rack/session/abstract/id.rb:200:incall' actionpack (3.2.1) lib/action_dispatch/middleware/cookies.rb:338:incall' activerecord (3.2.1) lib/active_record/query_cache.rb:64:incall' activerecord (3.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:443:incall' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:28:incall' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in`_run397314981call4callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:405:in send' activesupport (3.2.1) lib/active_support/callbacks.rb:405:inrun_callback' activesupport (3.2.1) lib/active_support/callbacks.rb:385:in _run_call_callbacks' activesupport (3.2.1) lib/active_support/callbacks.rb:81:insend' activesupport (3.2.1) lib/active_support/callbacks.rb:81:in run_callbacks' actionpack (3.2.1) lib/action_dispatch/middleware/callbacks.rb:27:incall' actionpack (3.2.1) lib/action_dispatch/middleware/remote_ip.rb:31:in call' actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:16:incall' actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in call' railties (3.2.1) lib/rails/rack/logger.rb:26:incall_app' railties (3.2.1) lib/rails/rack/logger.rb:16:in call' actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:incall' rack (1.4.1) lib/rack/methodoverride.rb:21:in call' rack (1.4.1) lib/rack/runtime.rb:17:incall' activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in call' rack (1.4.1) lib/rack/lock.rb:15:incall' rack-cache (1.2) lib/rack/cache/context.rb:136:in forward' rack-cache (1.2) lib/rack/cache/context.rb:143:inpass' rack-cache (1.2) lib/rack/cache/context.rb:155:in invalidate' rack-cache (1.2) lib/rack/cache/context.rb:71:incall!' rack-cache (1.2) lib/rack/cache/context.rb:51:in call' railties (3.2.1) lib/rails/engine.rb:479:incall' railties (3.2.1) lib/rails/application.rb:220:in call' railties (3.2.1) lib/rails/railtie/configurable.rb:30:insend' railties (3.2.1) lib/rails/railtie/configurable.rb:30:in method_missing' passenger (3.0.9) lib/phusion_passenger/rack/request_handler.rb:96:inprocess_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:513:in accept_and_process_next_request' passenger (3.0.9) lib/phusion_passenger/abstract_request_handler.rb:274:inmain_loop' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:205:in start_request_handler' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:170:insend' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:170:in handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/utils.rb:479:insafe_fork' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:165:in handle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:insend__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in server_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:instart_synchronously' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:180:in start' passenger (3.0.9) lib/phusion_passenger/rack/application_spawner.rb:128:instart' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:253:in spawn_rack_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:132:inlookup_or_add' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:246:in spawn_rack_application' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:82:insynchronize' passenger (3.0.9) lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:244:inspawn_rack_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:137:in spawn_application' passenger (3.0.9) lib/phusion_passenger/spawn_manager.rb:275:inhandle_spawn_application' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:in __send__' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:357:inserver_main_loop' passenger (3.0.9) lib/phusion_passenger/abstract_server.rb:206:in `start_synchronously' passenger (3.0.9) helper-scripts/passenger-spawn-server:99

Request

Parameters:

{"commit"=>"Guardar", "format"=>"6", "authenticity_token"=>"CnM1mz/qN31l+o8O0OHCpOVCivKLA00eF0hFRyGaigU=", "_method"=>"put", "utf8"=>"✓", "id"=>"2", "hito"=>{"nombre"=>"Fiesta de San Blas", "x"=>"40.32319556663854", "y"=>"-6.470106125926065", "descripcion"=>"

San Blas es el patrón de Robledillo de Gata. Se celebra el 3 de Febrero con alborada, misa, procesión, charanga y degustación de comida típica.

", "id"=>"6", "generica_ids"=>["", "111"]}, "museo_id"=>"1"}

Show session dump

_csrf_token: "CnM1mz/qN31l+o8O0OHCpOVCivKLA00eF0hFRyGaigU=" session_id: "5c214b4d71673ac51f48ca03817eadda"

Show env dump

HTTPACCEPT: "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-es,es;q=0.8,en-us;q=0.5,en;q=0.3" REMOTE_ADDR: "95.20.60.27" SERVER_NAME: "olearum.enjava.com" SERVER_PROTOCOL: "HTTP/1.1"

Response

Headers:

None

marionn commented 12 years ago

ahora lo hace...solo le quitaba la tilde a blas...

tangrammer commented 12 years ago

el error no es por la tilde es por no seleccionar el icono correspondiente del servicio... ya lo vi el otro día ... lo marco como un bug cambiando de nombre la issue