Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Started GET "/users/update_departamento_select/14" for 127.0.0.1 at Tue Sep 06 01:25:55 -0300 2011
- Processing by UsersController#update_departamento_select as
- Parameters: {"id"=>"14"}
- ERROR: compiling _app_views_partials__departamentos_html_erb__630487840__613657798_2402920 RAISED compile error
- /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected '=', expecting kEND
- ...cal_assigns[:departamentos]; = local_assigns[:];;@output_buf...
- ^
- /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected ']', expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
- ...rtamentos]; = local_assigns[:];;@output_buffer = ActionView:...
- ^
- Function body: def _app_views_partials__departamentos_html_erb__630487840__613657798_2402920(local_assigns)
- _old_virtual_path, @_virtual_path = @_virtual_path, "partials/_departamentos";_old_output_buffer = @output_buffer;departamentos = local_assigns[:departamentos]; = local_assigns[:];;@output_buffer = ActionView::OutputBuffer.new;@output_buffer.safe_concat('<script type="text/javascript">
- jQuery(function($) {
- $("#departamento_id").change(function() {
- var departamento = $(\'select#departamento_id :selected\').val();
- if(departamento == "") departamento="0";
- jQuery.get(\'/users/update_localidad_select/\' + departamento, function(data){
- $("#direccionLocalidades").html(data);
- })
- return false;
- });
- })
- </script>
- '); if !@departamentos.blank?
- @output_buffer.safe_concat(' Departamento:
- <br />
- ');@output_buffer.append= ( select 'departamento', 'id', @departamentos.map {|dep| [dep.descripcion, dep.id] }, { :include_blank => true }, :style => 'width:200px' );@output_buffer.safe_concat('
- '); else
- @output_buffer.safe_concat(' @departamentos sin valor
- '); end
- @output_buffer.safe_concat('
- ');@output_buffer.to_s
- ensure
- @_virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
- end
- Backtrace: /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:24:in `compile'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/template.rb:134:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:54:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/template.rb:127:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:333:in `render_partial'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:262:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:260:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:378:in `_render_partial'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:22:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:115:in `_render_template'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:109:in `render_to_body'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/renderers.rb:47:in `render_to_body'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/compatibility.rb:55:in `render_to_body'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:102:in `render_to_string'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:93:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rendering.rb:17:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:40:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/core_ext/benchmark.rb:5:in `ms'
- /home/ruben/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/core_ext/benchmark.rb:5:in `ms'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:40:in `render'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:78:in `cleanup_view_runtime'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/railties/controller_runtime.rb:15:in `cleanup_view_runtime'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:39:in `render'
- /media/Kingston4GB/control_asistencia/app/controllers/users_controller.rb:94:in `update_departamento_select'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:150:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rendering.rb:11:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:18:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:441:in `_run__434435962__process_action__1055376268__callbacks'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:410:in `send'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:410:in `_run_process_action_callbacks'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94:in `send'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94:in `run_callbacks'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:17:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rescue.rb:17:in `process_action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:119:in `process'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41:in `process'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138:in `dispatch'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178:in `action'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `recognize'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:117:in `optimized_each'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:35:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:34:in `catch'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:34:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/methodoverride.rb:24:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/session/abstract_store.rb:149:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/query_cache.rb:28:in `cache'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12:in `cache'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/connection_adapters/abstract/connection_pool.rb:354:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/sendfile.rb:107:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/runtime.rb:17:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `synchronize'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:168:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/content_length.rb:13:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/chunked.rb:15:in `call'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/handler/mongrel.rb:67:in `process'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/handler/mongrel.rb:38:in `run'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/server.rb:217:in `start'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands/server.rb:65:in `start'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:30
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap'
- /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:27
- script/rails:6:in `require'
- script/rails:6
- Rendered partials/_departamentos.html.erb (1.1ms)
- Completed in 17ms
- ActionView::Template::Error (compile error
- /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected '=', expecting kEND
- ...cal_assigns[:departamentos]; = local_assigns[:];;@output_buf...
- ^
- /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected ']', expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
- ...rtamentos]; = local_assigns[:];;@output_buffer = ActionView:...
- ^):
- 1: <script type="text/javascript">
- 2: jQuery(function($) {
- 3: $("#departamento_id").change(function() {
- 4: var departamento = $('select#departamento_id :selected').val();
- app/views/partials/_departamentos.html.erb:24:in `compile'
- app/controllers/users_controller.rb:94:in `update_departamento_select'
- Rendered /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
- Rendered /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (6.0ms)
- Rendered /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.5ms)
Add Comment
Please, Sign In to add comment