Guest User

Untitled

a guest
Nov 17th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.76 KB | None | 0 0
  1.  
  2. <2011-08-24 21:50:26><DEBUG> city blank: false
  3. <2011-08-24 21:50:26><DEBUG> can pass: true
  4. <2011-08-24 21:50:26><DEBUG> Operator Load (38.1ms) SELECT * FROM `operators` WHERE (`operators`.`id` = 174)
  5. <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
  6.  
  7. ActionView::TemplateError (undefined method `length' for nil:NilClass) on line #17 of app/views/geo/_vehicle_box.html.erb:
  8. 14: </td>
  9. 15: <td class="vehicle_op_name blue">
  10. 16: <%= link_to(truncate(v.operator.business_name,:length=>30),operator_path(v.operator.url_slug),:rel=>"nofollow") %>
  11. 17: <% if v.operator.phone_context( 'lt3' ).length > 0 %>
  12. 18: <br />
  13. 19: <span class='stars'><%=parse_and_format_phone(v.operator.phone_context( 'lt3' ))%></span>
  14. 20: <% end %>
  15.  
  16. app/views/geo/_vehicle_box.html.erb:17
  17. app/views/geo/_vehicle_box.html.erb:7:in `each'
  18. app/views/geo/_vehicle_box.html.erb:7
  19. app/views/geo/_box_content_vehicles_and_packages.html.erb:25
  20. app/views/geo/operators_near_city.html.erb:37
  21. config/initializers/capture_helper.rb:9:in `content_for'
  22. app/views/geo/operators_near_city.html.erb:21
  23. app/middlewares/set_cookie_domain.rb:11:in `call'
  24. app/middlewares/set_cookie_domain.rb:11:in `call'
  25. /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'
  26. /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'
  27. unicorn (3.3.1) lib/unicorn/http_server.rb:532:in `process_client'
  28. unicorn (3.3.1) lib/unicorn/http_server.rb:607:in `worker_loop'
  29. unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `each'
  30. unicorn (3.3.1) lib/unicorn/http_server.rb:605:in `worker_loop'
  31. unicorn (3.3.1) lib/unicorn/http_server.rb:496:in `spawn_missing_workers'
  32. unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `fork'
  33. unicorn (3.3.1) lib/unicorn/http_server.rb:493:in `spawn_missing_workers'
  34. unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `each'
  35. unicorn (3.3.1) lib/unicorn/http_server.rb:489:in `spawn_missing_workers'
  36. unicorn (3.3.1) lib/unicorn/http_server.rb:503:in `maintain_worker_count'
  37. unicorn (3.3.1) lib/unicorn/http_server.rb:161:in `start'
  38. unicorn (3.3.1) lib/unicorn.rb:13:in `run'
  39. unicorn (3.3.1) bin/unicorn_rails:208
  40. /usr/bin/unicorn_rails:19:in `load'
  41. /usr/bin/unicorn_rails:19
Add Comment
Please, Sign In to add comment