test/dummy/log/development.log in gridder-0.0.8 vs test/dummy/log/development.log in gridder-0.0.9

- old
+ new

@@ -4016,5 +4016,441 @@ Served asset /welcome.js - 304 Not Modified (1ms) Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-11-16 17:40:40 -0200 Served asset /application.js - 304 Not Modified (7ms) +Connecting to database specified by database.yml + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:04:08 -0200 +Connecting to database specified by database.yml +Processing by WelcomeController#index as HTML + Rendered welcome/index.html.erb within layouts/application (50.0ms) +Compiled jquery.js (4ms) (pid 21360) +Compiled jquery_ujs.js (0ms) (pid 21360) +Compiled application.js (92ms) (pid 21360) +Completed 200 OK in 378ms (Views: 303.1ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /welcome.css - 200 OK (4ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /application.css - 200 OK (10ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /jquery.js - 200 OK (8ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /application.js - 200 OK (47ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /jquery_ujs.js - 200 OK (3ms) + + +Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-01-16 15:04:09 -0200 +Served asset /welcome.js - 200 OK (1ms) + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:06:06 -0200 +Processing by WelcomeController#index as HTML + Rendered welcome/index.html.erb within layouts/application (67.3ms) +Completed 500 Internal Server Error in 76ms + +ActionView::Template::Error (undefined local variable or method `record' for Gridder:Module): + 7: + 8: <p> + 9: Lambda, lambda{|registro| registro.attributo} + 10: <%= Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + 11: {:title => "Street", :data => lambda{|e|[e.address.number, e.address.street].join(", ")}}, + 12: {:title => "City", :data => lambda{|e|e.address.city}}, + 13: {:title => "State", :data => lambda{|e|e.address.state}}, + app/views/welcome/index.html.erb:10:in `_app_views_welcome_index_html_erb__319052579551755255_2159518040' + + + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.9ms) + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:06:22 -0200 +Processing by WelcomeController#index as HTML + Rendered welcome/index.html.erb within layouts/application (4.4ms) +Completed 500 Internal Server Error in 15ms + +ActionView::Template::Error (undefined local variable or method `record' for Gridder:Module): + 7: + 8: <p> + 9: Lambda, lambda{|registro| registro.attributo} + 10: <%= Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + 11: {:title => "Street", :data => lambda{|e|[e.address.number, e.address.street].join(", ")}}, + 12: {:title => "City", :data => lambda{|e|e.address.city}}, + 13: {:title => "State", :data => lambda{|e|e.address.state}}, + app/views/welcome/index.html.erb:10:in `_app_views_welcome_index_html_erb__319052579551755255_2159518040' + + + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.3ms) + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:06:31 -0200 +Connecting to database specified by database.yml +Processing by WelcomeController#index as HTML + Rendered welcome/index.html.erb within layouts/application (25.5ms) +Completed 200 OK in 87ms (Views: 75.0ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /application.css - 304 Not Modified (3ms) + + +Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /welcome.css - 304 Not Modified (2ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /jquery.js - 304 Not Modified (6ms) + + +Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /welcome.js - 304 Not Modified (3ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /jquery_ujs.js - 304 Not Modified (2ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-16 15:06:32 -0200 +Served asset /application.js - 304 Not Modified (21ms) + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:07:54 -0200 +Processing by WelcomeController#index as HTML +ERROR: compiling _app_views_welcome_index_html_erb___1203327005840735596_2157278240 RAISED /Users/targa/Sites/gems/gridder/test/dummy/app/views/welcome/index.html.erb:17: syntax error, unexpected tSYMBEG, expecting ')' + :footer => [{:data => proc{|e|... + ^ +/Users/targa/Sites/gems/gridder/test/dummy/app/views/welcome/index.html.erb:17: syntax error, unexpected ')', expecting keyword_end +...|r| r.name[0]}.join("*")}}] ) );@output_buffer.safe_concat(' +... ^ +Function body: def _app_views_welcome_index_html_erb___1203327005840735596_2157278240(local_assigns, output_buffer) + _old_virtual_path, @virtual_path = @virtual_path, "welcome/index";_old_output_buffer = @output_buffer;;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.safe_concat('<h1>Demo</h1> + +<p> + Simples, data => :nome_do_attributo + ');@output_buffer.append= ( Gridder.for(@list, :body => [{:title => "Name", :data => :name}] ) );@output_buffer.safe_concat(' +');@output_buffer.safe_concat('</p> + +<p> + Lambda, lambda{|registro| registro.attributo} + ');@output_buffer.append= ( Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + {:title => "Street", :data => lambda{|e|[e.address.number, e.address.street].join(", ")}}, + {:title => "City", :data => lambda{|e|e.address.city}}, + {:title => "State", :data => lambda{|e|e.address.state}}, + {:title => "Country", :data => lambda{|e|e.address.country}} + ], + :tfooter => {:style => "font-size:30px"} + :footer => [{:data => proc{|e| e.map{|r| r.name[0]}.join("*")}}] ) );@output_buffer.safe_concat(' +');@output_buffer.safe_concat('</p> + +<p> + Definindo atributos + ');@output_buffer.append= ( Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + {:title => "Street", :data => lambda{|e|[e.address.number, e.address.street].join(", ")}}, + {:title => "City", :data => lambda{|e|e.address.city}}, + {:title => "State", :data => lambda{|e|e.address.state}}, + {:title => "Country", :data => lambda{|e|e.address.country}} + ], + :table => {:style => "background-color:#efefef"}, + :tr => {:style => "color:red"}, + :thead => {:style => "font-family:tahoma;font-size:30px"} ) );@output_buffer.safe_concat(' +');@output_buffer.safe_concat('</p> + +<p> + Adicionando namespace no cabeƧalho + ');@output_buffer.append= ( Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + {:title => "Address::Street", :data => lambda{|e|[e.address.number, e.address.street].join(", ")}, :style => "width:200px"}, + {:title => "Address::City", :data => lambda{|e|e.address.city}}, + {:title => "Address::State", :data => lambda{|e|e.address.state}}, + {:title => "Address::Country", :data => lambda{|e|e.address.country}} + ], :table => {:border => 1, :cellpadding => 5, :cellspacing=> 0}) );@output_buffer.safe_concat(' +');@output_buffer.safe_concat('</p> + +<p> + Adicionando namespace de 2 niveis no cabeƧalho + ');@output_buffer.append= ( Gridder.for(@list, :body => [ {:title => "Name", :data => :name}, + {:title => "Address::Number", :data => lambda{|e|e.address.number}, :style => "width:50px"}, + {:title => "Address::Street", :data => lambda{|e|e.address.street}, :style => "width:150px"}, + {:title => "Address::Region::City", :data => lambda{|e|e.address.city}}, + {:title => "Address::Region::State", :data => lambda{|e|e.address.state}}, + {:title => "Address::Region::Country", :data => lambda{|e|e.address.country}} + ], :table => {:border => 1, :cellpadding => 5, :cellspacing=> 0}) );@output_buffer.safe_concat(' +');@output_buffer.safe_concat('</p> + +');@output_buffer.to_s + ensure + @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer + end + +Backtrace: /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:297:in `module_eval' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:297:in `compile' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:244:in `block in compile!' +<internal:prelude>:10:in `synchronize' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:232:in `compile!' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:144:in `block in render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications.rb:125:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/template.rb:143:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `block in instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:45:in `render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/template_renderer.rb:18:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb:36:in `render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_view/renderer/renderer.rb:17:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:110:in `_render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/streaming.rb:225:in `_render_template' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:103:in `render_to_body' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/renderers.rb:28:in `render_to_body' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/compatibility.rb:50:in `render_to_body' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:88:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb:16:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb:5:in `block in ms' +/Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/core_ext/benchmark.rb:5:in `ms' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:40:in `block in render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.9/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:39:in `render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/implicit_render.rb:10:in `default_render' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/implicit_render.rb:5:in `send_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:167:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/rendering.rb:10:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb:18:in `block in process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:414:in `_run__4443665687003354766__process_action__2571813561851093202__callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `__run_callback' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/callbacks.rb:17:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/rescue.rb:29:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `block in instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications/instrumenter.rb:20:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/notifications.rb:123:in `instrument' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/instrumentation.rb:29:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/params_wrapper.rb:207:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.9/lib/active_record/railties/controller_runtime.rb:18:in `process_action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/base.rb:121:in `process' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/abstract_controller/rendering.rb:45:in `process' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal.rb:203:in `dispatch' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_controller/metal.rb:246:in `block in action' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:73:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:73:in `dispatch' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:36:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.4/lib/journey/router.rb:56:in `each' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/journey-1.0.4/lib/journey/router.rb:56:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/routing/route_set.rb:601:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/head.rb:14:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/params_parser.rb:21:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/flash.rb:242:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/cookies.rb:341:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.9/lib/active_record/query_cache.rb:64:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activerecord-3.2.9/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `_run__4250143931556508167__call__3853541822437325741__callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:405:in `__run_callback' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:385:in `_run_call_callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/callbacks.rb:81:in `run_callbacks' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/callbacks.rb:27:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/reloader.rb:65:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/remote_ip.rb:31:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/rack/logger.rb:32:in `call_app' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `block in call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/tagged_logging.rb:22:in `tagged' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/rack/logger.rb:16:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/request_id.rb:22:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/activesupport-3.2.9/lib/active_support/cache/strategy/local_cache.rb:72:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/static.rb:62:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/engine.rb:479:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/application.rb:223:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/railties-3.2.9/lib/rails/rack/log_tailer.rb:17:in `call' +/Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service' +/Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' +/Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' +/Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + Rendered welcome/index.html.erb within layouts/application (18.9ms) +Completed 500 Internal Server Error in 29ms + +ActionView::Template::Error (/Users/targa/Sites/gems/gridder/test/dummy/app/views/welcome/index.html.erb:17: syntax error, unexpected tSYMBEG, expecting ')' + :footer => [{:data => proc{|e|... + ^ +/Users/targa/Sites/gems/gridder/test/dummy/app/views/welcome/index.html.erb:17: syntax error, unexpected ')', expecting keyword_end +...|r| r.name[0]}.join("*")}}] ) );@output_buffer.safe_concat(' +... ^): + 14: {:title => "Country", :data => lambda{|e|e.address.country}} + 15: ], + 16: :tfooter => {:style => "font-size:30px"} + 17: :footer => [{:data => proc{|e| e.map{|r| r.name[0]}.join("*")}}] ) %> + 18: </p> + 19: + 20: <p> + actionpack (3.2.9) lib/action_view/template.rb:297:in `module_eval' + actionpack (3.2.9) lib/action_view/template.rb:297:in `compile' + actionpack (3.2.9) lib/action_view/template.rb:244:in `block in compile!' + <internal:prelude>:10:in `synchronize' + actionpack (3.2.9) lib/action_view/template.rb:232:in `compile!' + actionpack (3.2.9) lib/action_view/template.rb:144:in `block in render' + activesupport (3.2.9) lib/active_support/notifications.rb:125:in `instrument' + actionpack (3.2.9) lib/action_view/template.rb:143:in `render' + actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template' + actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument' + activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.9) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument' + actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template' + actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout' + actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:45:in `render_template' + actionpack (3.2.9) lib/action_view/renderer/template_renderer.rb:18:in `render' + actionpack (3.2.9) lib/action_view/renderer/renderer.rb:36:in `render_template' + actionpack (3.2.9) lib/action_view/renderer/renderer.rb:17:in `render' + actionpack (3.2.9) lib/abstract_controller/rendering.rb:110:in `_render_template' + actionpack (3.2.9) lib/action_controller/metal/streaming.rb:225:in `_render_template' + actionpack (3.2.9) lib/abstract_controller/rendering.rb:103:in `render_to_body' + actionpack (3.2.9) lib/action_controller/metal/renderers.rb:28:in `render_to_body' + actionpack (3.2.9) lib/action_controller/metal/compatibility.rb:50:in `render_to_body' + actionpack (3.2.9) lib/abstract_controller/rendering.rb:88:in `render' + actionpack (3.2.9) lib/action_controller/metal/rendering.rb:16:in `render' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render' + activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `block in ms' + /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/benchmark.rb:310:in `realtime' + activesupport (3.2.9) lib/active_support/core_ext/benchmark.rb:5:in `ms' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:40:in `block in render' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime' + activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:39:in `render' + actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render' + actionpack (3.2.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action' + actionpack (3.2.9) lib/abstract_controller/base.rb:167:in `process_action' + actionpack (3.2.9) lib/action_controller/metal/rendering.rb:10:in `process_action' + actionpack (3.2.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action' + activesupport (3.2.9) lib/active_support/callbacks.rb:414:in `_run__4443665687003354766__process_action__2571813561851093202__callbacks' + activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks' + activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.9) lib/abstract_controller/callbacks.rb:17:in `process_action' + actionpack (3.2.9) lib/action_controller/metal/rescue.rb:29:in `process_action' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action' + activesupport (3.2.9) lib/active_support/notifications.rb:123:in `block in instrument' + activesupport (3.2.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument' + activesupport (3.2.9) lib/active_support/notifications.rb:123:in `instrument' + actionpack (3.2.9) lib/action_controller/metal/instrumentation.rb:29:in `process_action' + actionpack (3.2.9) lib/action_controller/metal/params_wrapper.rb:207:in `process_action' + activerecord (3.2.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action' + actionpack (3.2.9) lib/abstract_controller/base.rb:121:in `process' + actionpack (3.2.9) lib/abstract_controller/rendering.rb:45:in `process' + actionpack (3.2.9) lib/action_controller/metal.rb:203:in `dispatch' + actionpack (3.2.9) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch' + actionpack (3.2.9) lib/action_controller/metal.rb:246:in `block in action' + actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `call' + actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:73:in `dispatch' + actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:36:in `call' + journey (1.0.4) lib/journey/router.rb:68:in `block in call' + journey (1.0.4) lib/journey/router.rb:56:in `each' + journey (1.0.4) lib/journey/router.rb:56:in `call' + actionpack (3.2.9) lib/action_dispatch/routing/route_set.rb:601:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call' + rack (1.4.1) lib/rack/etag.rb:23:in `call' + rack (1.4.1) lib/rack/conditionalget.rb:25:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/head.rb:14:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/params_parser.rb:21:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/flash.rb:242:in `call' + rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context' + rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/cookies.rb:341:in `call' + activerecord (3.2.9) lib/active_record/query_cache.rb:64:in `call' + activerecord (3.2.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call' + activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `_run__4250143931556508167__call__3853541822437325741__callbacks' + activesupport (3.2.9) lib/active_support/callbacks.rb:405:in `__run_callback' + activesupport (3.2.9) lib/active_support/callbacks.rb:385:in `_run_call_callbacks' + activesupport (3.2.9) lib/active_support/callbacks.rb:81:in `run_callbacks' + actionpack (3.2.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/reloader.rb:65:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/remote_ip.rb:31:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call' + railties (3.2.9) lib/rails/rack/logger.rb:32:in `call_app' + railties (3.2.9) lib/rails/rack/logger.rb:16:in `block in call' + activesupport (3.2.9) lib/active_support/tagged_logging.rb:22:in `tagged' + railties (3.2.9) lib/rails/rack/logger.rb:16:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/request_id.rb:22:in `call' + rack (1.4.1) lib/rack/methodoverride.rb:21:in `call' + rack (1.4.1) lib/rack/runtime.rb:17:in `call' + activesupport (3.2.9) lib/active_support/cache/strategy/local_cache.rb:72:in `call' + rack (1.4.1) lib/rack/lock.rb:15:in `call' + actionpack (3.2.9) lib/action_dispatch/middleware/static.rb:62:in `call' + railties (3.2.9) lib/rails/engine.rb:479:in `call' + railties (3.2.9) lib/rails/application.rb:223:in `call' + rack (1.4.1) lib/rack/content_length.rb:14:in `call' + railties (3.2.9) lib/rails/rack/log_tailer.rb:17:in `call' + rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service' + /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service' + /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run' + /Users/targa/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread' + + + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms) + Rendered /Users/targa/.rvm/gems/ruby-1.9.2-p290@pinarello/gems/actionpack-3.2.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.4ms) + + +Started GET "/" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Processing by WelcomeController#index as HTML + Rendered welcome/index.html.erb within layouts/application (13.0ms) +Completed 200 OK in 31ms (Views: 17.4ms | ActiveRecord: 0.0ms) + + +Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /welcome.css - 304 Not Modified (0ms) + + +Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /jquery.js - 304 Not Modified (0ms) + + +Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /welcome.js - 304 Not Modified (0ms) + + +Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /application.js - 304 Not Modified (0ms) + + +Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /jquery_ujs.js - 304 Not Modified (0ms) + + +Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-16 15:08:00 -0200 +Served asset /application.css - 304 Not Modified (0ms)