Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <2011-08-24 21:50:26><DEBUG> city blank: false
- <2011-08-24 21:50:26><DEBUG> can pass: true
- <2011-08-24 21:50:26><DEBUG> Operator Load (38.1ms) SELECT * FROM `operators` WHERE (`operators`.`id` = 174)
- <2011-08-24 21:50:26><DEBUG> Contact Load (37.8ms) SELECT * FROM `contacts` WHERE (`contacts`.`type` = 'IfByPhone2') AND (`contacts`.operator_id = 174) LIMIT 1
- ActionView::TemplateError (undefined method `length' for nil:NilClass) on line #17 of app/views/geo/_vehicle_box.html.erb:
- 14: </td>
- 15: <td class="vehicle_op_name blue">
- 16: <%= link_to(truncate(v.operator.business_name,:length=>30),operator_path(v.operator.url_slug),:rel=>"nofollow") %>
- 17: <% if v.operator.phone_context( 'lt3' ).length > 0 %>
- 18: <br />
- 19: <span class='stars'><%=parse_and_format_phone(v.operator.phone_context( 'lt3' ))%></span>
- 20: <% end %>
- app/views/geo/_vehicle_box.html.erb:17
- app/views/geo/_vehicle_box.html.erb:7:in `each'
- app/views/geo/_vehicle_box.html.erb:7
- app/views/geo/_box_content_vehicles_and_packages.html.erb:25
- app/views/geo/operators_near_city.html.erb:37
- config/initializers/capture_helper.rb:9:in `content_for'
- app/views/geo/operators_near_city.html.erb:21
- app/middlewares/set_cookie_domain.rb:11:in `call'
- app/middlewares/set_cookie_domain.rb:11:in `call'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.9/lib/hoptoad_notifier/rack.rb:27:in `call'
- /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/hoptoad_notifier-2.4.9/lib/hoptoad_notifier/user_informer.rb:12:in `call'
- unicorn (3.3.1) lib/unicorn/http_server.rb:532:in `process_client'
- unicorn (3.3.1) lib/unicorn/http_server.rb:607:in `worker_loop'
- unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `each'
- unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `worker_loop'
- unicorn (3.3.1) lib/unicorn/http_server.rb:496:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `fork'
- unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `each'
- unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `spawn_missing_workers'
- unicorn (3.3.1) lib/unicorn/http_server.rb:503:in `maintain_worker_count'
- unicorn (3.3.1) lib/unicorn/http_server.rb:161:in `start'
- unicorn (3.3.1) lib/unicorn.rb:13:in `run'
- unicorn (3.3.1) bin/unicorn_rails:208
- /usr/bin/unicorn_rails:19:in `load'
- /usr/bin/unicorn_rails:19
Add Comment
Please, Sign In to add comment