I get this error when i try to access the shop by brand and shop by
category fields ...



ArgumentError in Spree/taxons#show

Showing ~/*
.rvm/gems/ruby-1.9.3-p374@rails-3.2.6/gems/spree_core-1.3.2/app/views/spree/shared/_filters.html.erb
* where line *#1* raised:

comparison of NilClass with String failed

Extracted source (around line *#1*):

1: <% filters = @taxon ? @taxon.applicable_filters : [Spree::ProductFilters.all_taxons] %>
2: <% unless filters.empty? %>
3: <%= form_tag '', :method => :get, :id => 'sidebar_products_search' do %>
4: <% params[:search] ||= {} %>

reply asap...

--
You received this message because you are subscribed to the Google Groups "Spree" group.
To unsubscribe from this group and stop receiving emails from it, send an email to spree-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Andrew Hooker at Mar 28, 2013 at 1:24 pm
    Please file an issue on https://github.com/spree/spree and include your Ruby version, Gemfile, and the URL you are accessing.
    ---
    Andrew Hooker
    Support Engineer
    Spree Commerce, Inc.

    Register now for SpreeConf
    May 20-21 in Washington, D.C.
    http://spreeconf.com
    On Mar 28, 2013, at 8:14 AM, Rohan Patel wrote:

    I get this error when i try to access the shop by brand and shop by category fields ...







    ArgumentError in Spree/taxons#show

    Showing ~/.rvm/gems/ruby-1.9.3-p374@rails-3.2.6/gems/spree_core-1.3.2/app/views/spree/shared/_filters.html.erb where line #1 raised:

    comparison of NilClass with String failed
    Extracted source (around line #1):

    1: <% filters = @taxon ? @taxon.applicable_filters : [Spree::ProductFilters.all_taxons] %>
    2: <% unless filters.empty? %>
    3: <%= form_tag '', :method => :get, :id => 'sidebar_products_search' do %>
    4: <% params[:search] ||= {} %>


    reply asap...

    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to spree-user+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.
    --
    You received this message because you are subscribed to the Google Groups "Spree" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to spree-user+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedMar 28, '13 at 1:15p
activeMar 28, '13 at 1:24p
posts2
users2
websitespreecommerce.com
irc#RubyOnRails

2 users in discussion

Andrew Hooker: 1 post Rohan Patel: 1 post

People

Translate

site design / logo © 2022 Grokbase