Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgumentError: comparison of String with 1 failed #34

Open
christoph-buente opened this issue Feb 14, 2014 · 0 comments
Open

ArgumentError: comparison of String with 1 failed #34

christoph-buente opened this issue Feb 14, 2014 · 0 comments
Labels

Comments

@christoph-buente
Copy link
Member

Check full details on Airbrake: #70933300

Backtrace:

```
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/gems/spree_core-1.3.3/app/helpers/spree/base_helper.rb:108:in <
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/gems/spree_core-1.3.3/app/helpers/spree/base_helper.rb:108:in taxons_tree
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/gems/spree_core-1.3.3/app/views/spree/shared/_taxonomies.html.erb:4:in block in _c4ddc648f1dfd3c7a4b672e6f8470b0d
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:6:in each
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/relation/delegation.rb:6:in each
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/gems/spree_core-1.3.3/app/views/spree/shared/_taxonomies.html.erb:2:in _c4ddc648f1dfd3c7a4b672e6f8470b0d
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/template.rb:145:in block in render
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:125:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/template.rb:143:in render
[GEM_ROOT]/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/partial_renderer.rb:265:in render_partial
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/partial_renderer.rb:238:in block in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/partial_renderer.rb:237:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:41:in render_partial
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:15:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/helpers/rendering_helper.rb:24:in render
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:11:in block in render_with_haml
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers.rb:90:in non_haml
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:11:in render_with_haml
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/bundler/gems/spree_mkf_theme-2eb760584354/app/views/spree/start/index.html.haml:25:in block in _534d8ae1691dad04ebb1be39e7f1824f
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:93:in block in capture_with_haml
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers.rb:345:in call
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers.rb:345:in block in capture_haml
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers.rb:569:in with_haml_buffer
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers.rb:341:in capture_haml
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers/xss_mods.rb:61:in capture_haml_with_haml_xss
[GEM_ROOT]/gems/haml-3.1.7/lib/haml/helpers/action_view_mods.rb:93:in capture_with_haml
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/helpers/capture_helper.rb:138:in content_for
/var/apps/mkf/production/shared/vendor_bundle/ruby/1.9.1/bundler/gems/spree_mkf_theme-2eb760584354/app/views/spree/start/index.html.haml:22:in _534d8ae1691dad04ebb1be39e7f1824f
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/template.rb:145:in block in render
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:125:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/template.rb:143:in render
[GEM_ROOT]/gems/deface-0.9.1/lib/deface/action_view_extensions.rb:37:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:47:in block (2 levels) in render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/abstract_renderer.rb:38:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:46:in block in render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:54:in render_with_layout
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:45:in render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/template_renderer.rb:18:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:36:in render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_view/renderer/renderer.rb:17:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:110:in _render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/streaming.rb:225:in _render_template
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:103:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/renderers.rb:28:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/compatibility.rb:50:in render_to_body
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:88:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:16:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:40:in block (2 levels) in render
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/core_ext/benchmark.rb:5:in block in ms
/opt/rbenv/versions/1.9.3-p448/lib/ruby/1.9.1/benchmark.rb:295:in realtime
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/core_ext/benchmark.rb:5:in ms
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:40:in block in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:83:in cleanup_view_runtime
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:24:in cleanup_view_runtime
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:39:in render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:10:in default_render
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/implicit_render.rb:5:in send_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:167:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/rendering.rb:10:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:18:in block in process_action
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:480:in _run__3472002817430322012__process_action__3203063322238880679__callbacks
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_process_action_callbacks
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/callbacks.rb:17:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/rescue.rb:29:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:30:in block in process_action
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in block in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications/instrumenter.rb:20:in instrument
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/notifications.rb:123:in instrument
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/instrumentation.rb:29:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/params_wrapper.rb:207:in process_action
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/railties/controller_runtime.rb:18:in process_action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/base.rb:121:in process
[GEM_ROOT]/gems/actionpack-3.2.16/lib/abstract_controller/rendering.rb:45:in process
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal.rb:203:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal/rack_delegation.rb:14:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_controller/metal.rb:246:in block in action
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:73:in dispatch
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:36:in call
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:68:in block in call
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in each
[GEM_ROOT]/gems/journey-1.0.4/lib/journey/router.rb:56:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/routing/route_set.rb:608:in call
[GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb:35:in block in call
[GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb:34:in catch
[GEM_ROOT]/gems/warden-1.2.1/lib/warden/manager.rb:34:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/best_standards_support.rb:17:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/etag.rb:23:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/head.rb:14:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/params_parser.rb:21:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/flash.rb:242:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in context
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/cookies.rb:341:in call
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/query_cache.rb:64:in call
[GEM_ROOT]/gems/activerecord-3.2.16/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:28:in block in call
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in _run__1831139873822312562__call__2152553041954756202__callbacks
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:405:in __run_callback
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:385:in _run_call_callbacks
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/callbacks.rb:81:in run_callbacks
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/callbacks.rb:27:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/sendfile.rb:102:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/remote_ip.rb:31:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/debug_exceptions.rb:16:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/show_exceptions.rb:56:in call
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/rack/logger.rb:32:in call_app
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in block in call
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/tagged_logging.rb:22:in tagged
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/rack/logger.rb:16:in call
[GEM_ROOT]/gems/actionpack-3.2.16/lib/action_dispatch/middleware/request_id.rb:22:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/runtime.rb:17:in call
[GEM_ROOT]/gems/activesupport-3.2.16/lib/active_support/cache/strategy/local_cache.rb:72:in call
[GEM_ROOT]/gems/rack-1.4.5/lib/rack/lock.rb:15:in call
[GEM_ROOT]/gems/rack-statsd-0.2.1/lib/rack-statsd.rb:311:in call
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:136:in forward
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:245:in fetch
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:185:in lookup
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:66:in call!
[GEM_ROOT]/gems/rack-cache-1.2/lib/rack/cache/context.rb:51:in call
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/engine.rb:484:in call
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/application.rb:231:in call
[GEM_ROOT]/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in method_missing
[GEM_ROOT]/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:580:in process_client
[GEM_ROOT]/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:660:in worker_loop
[GEM_ROOT]/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:527:in spawn_missing_workers
[GEM_ROOT]/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:538:in maintain_worker_count
[GEM_ROOT]/gems/unicorn-4.7.0/lib/unicorn/http_server.rb:303:in join
[GEM_ROOT]/gems/unicorn-4.7.0/bin/unicorn:126:in <top (required)>
/opt/rbenv/versions/1.9.3-p448/bin/unicorn:23:in load
/opt/rbenv/versions/1.9.3-p448/bin/unicorn:23:in <main>
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant