SHARE
TWEET

Untitled

a guest Dec 10th, 2018 90 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Started GET "/users/update_departamento_select/14" for 127.0.0.1 at Tue Sep 06 01:25:55 -0300 2011
  2.   Processing by UsersController#update_departamento_select as
  3.   Parameters: {"id"=>"14"}
  4. ERROR: compiling _app_views_partials__departamentos_html_erb__630487840__613657798_2402920 RAISED compile error
  5. /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected '=', expecting kEND
  6. ...cal_assigns[:departamentos]; = local_assigns[:];;@output_buf...
  7.                               ^
  8. /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
  9. ...rtamentos]; = local_assigns[:];;@output_buffer = ActionView:...
  10.                               ^
  11. Function body:           def _app_views_partials__departamentos_html_erb__630487840__613657798_2402920(local_assigns)
  12.             _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">
  13. jQuery(function($) {
  14.   $("#departamento_id").change(function() {
  15.     var departamento = $(\'select#departamento_id :selected\').val();
  16.     if(departamento == "") departamento="0";
  17.     jQuery.get(\'/users/update_localidad_select/\' + departamento, function(data){
  18.         $("#direccionLocalidades").html(data);
  19.     })
  20.     return false;
  21.   });
  22. })
  23. </script>
  24. '); if !@departamentos.blank?
  25. @output_buffer.safe_concat('  Departamento:
  26.   <br />
  27.   ');@output_buffer.append= ( select 'departamento', 'id', @departamentos.map {|dep| [dep.descripcion, dep.id] }, { :include_blank => true }, :style => 'width:200px' );@output_buffer.safe_concat('
  28. '); else
  29. @output_buffer.safe_concat('   @departamentos sin valor
  30. '); end
  31. @output_buffer.safe_concat('
  32. ');@output_buffer.to_s
  33.           ensure
  34.             @_virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
  35.           end
  36. Backtrace: /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:24:in `compile'
  37. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/template.rb:134:in `render'
  38. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:54:in `instrument'
  39. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/template.rb:127:in `render'
  40. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:333:in `render_partial'
  41. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:262:in `render'
  42. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
  43. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
  44. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
  45. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:260:in `render'
  46. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/partials.rb:378:in `_render_partial'
  47. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_view/render/rendering.rb:22:in `render'
  48. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:115:in `_render_template'
  49. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:109:in `render_to_body'
  50. /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'
  51. /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'
  52. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:102:in `render_to_string'
  53. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:93:in `render'
  54. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rendering.rb:17:in `render'
  55. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:40:in `render'
  56. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/core_ext/benchmark.rb:5:in `ms'
  57. /home/ruben/.rvm/rubies/ruby-1.8.7-p334/lib/ruby/1.8/benchmark.rb:308:in `realtime'
  58. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/core_ext/benchmark.rb:5:in `ms'
  59. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:40:in `render'
  60. /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'
  61. /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'
  62. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:39:in `render'
  63. /media/Kingston4GB/control_asistencia/app/controllers/users_controller.rb:94:in `update_departamento_select'
  64. /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'
  65. /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'
  66. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:150:in `process_action'
  67. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rendering.rb:11:in `process_action'
  68. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:18:in `process_action'
  69. /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'
  70. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:410:in `send'
  71. /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'
  72. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94:in `send'
  73. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:94:in `run_callbacks'
  74. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/callbacks.rb:17:in `process_action'
  75. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
  76. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
  77. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
  78. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/notifications.rb:52:in `instrument'
  79. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  80. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rescue.rb:17:in `process_action'
  81. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/base.rb:119:in `process'
  82. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/abstract_controller/rendering.rb:41:in `process'
  83. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal.rb:138:in `dispatch'
  84. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  85. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_controller/metal.rb:178:in `action'
  86. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `call'
  87. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:62:in `dispatch'
  88. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:27:in `call'
  89. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:148:in `call'
  90. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:93:in `recognize'
  91. /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'
  92. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/code_generation.rb:92:in `recognize'
  93. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-mount-0.6.14/lib/rack/mount/route_set.rb:139:in `call'
  94. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/routing/route_set.rb:493:in `call'
  95. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:35:in `call'
  96. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:34:in `catch'
  97. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/warden-1.0.4/lib/warden/manager.rb:34:in `call'
  98. /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'
  99. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/head.rb:14:in `call'
  100. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/methodoverride.rb:24:in `call'
  101. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  102. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/flash.rb:182:in `call'
  103. /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'
  104. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/cookies.rb:302:in `call'
  105. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:32:in `call'
  106. /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'
  107. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:12:in `cache'
  108. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activerecord-3.0.7/lib/active_record/query_cache.rb:31:in `call'
  109. /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'
  110. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:46:in `call'
  111. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/activesupport-3.0.7/lib/active_support/callbacks.rb:416:in `_run_call_callbacks'
  112. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/callbacks.rb:44:in `call'
  113. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/sendfile.rb:107:in `call'
  114. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/remote_ip.rb:48:in `call'
  115. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/show_exceptions.rb:47:in `call'
  116. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/rack/logger.rb:13:in `call'
  117. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/runtime.rb:17:in `call'
  118. /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'
  119. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
  120. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `synchronize'
  121. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/lock.rb:11:in `call'
  122. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/actionpack-3.0.7/lib/action_dispatch/middleware/static.rb:30:in `call'
  123. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:168:in `call'
  124. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:77:in `send'
  125. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/application.rb:77:in `method_missing'
  126. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/rack/log_tailer.rb:14:in `call'
  127. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/content_length.rb:13:in `call'
  128. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/chunked.rb:15:in `call'
  129. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/handler/mongrel.rb:67:in `process'
  130. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
  131. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
  132. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
  133. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  134. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
  135. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
  136. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
  137. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
  138. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
  139. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
  140. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/handler/mongrel.rb:38:in `run'
  141. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/rack-1.2.3/lib/rack/server.rb:217:in `start'
  142. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands/server.rb:65:in `start'
  143. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:30
  144. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:27:in `tap'
  145. /home/ruben/.rvm/gems/ruby-1.8.7-p334/gems/railties-3.0.7/lib/rails/commands.rb:27
  146. script/rails:6:in `require'
  147. script/rails:6
  148. Rendered partials/_departamentos.html.erb (1.1ms)
  149. Completed   in 17ms
  150.  
  151. ActionView::Template::Error (compile error
  152. /media/Kingston4GB/control_asistencia/app/views/partials/_departamentos.html.erb:1: syntax error, unexpected '=', expecting kEND
  153. ...cal_assigns[:departamentos]; = local_assigns[:];;@output_buf...
  154.                               ^
  155. /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
  156. ...rtamentos]; = local_assigns[:];;@output_buffer = ActionView:...
  157.                               ^):
  158.     1: <script type="text/javascript">
  159.     2: jQuery(function($) {
  160.     3:   $("#departamento_id").change(function() {
  161.     4:     var departamento = $('select#departamento_id :selected').val();
  162.   app/views/partials/_departamentos.html.erb:24:in `compile'
  163.   app/controllers/users_controller.rb:94:in `update_departamento_select'
  164.  
  165. 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)
  166. 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)
  167. 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)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top