FAQ
After creating a spree shop following the instructions in the github readme
& pushing spree on heroku both the front and backend worked ok. I used
the docs here: http://guides.spreecommerce.com/developer/heroku.html which
worked fine after i had changed the gem file to use postgres instead of
sqllite.

I then thought i'd install the seed data like this

heroku run bundle exec rake db:seed
heroku run bundle exec rake spree_sample:load

Now only product list pages display, the admin and detail pages give "We're
sorry, but something went wrong."

Here is the top of the heroku logs -t output

2013-05-27T06:06:51.999589+00:00 app[web.1]: NoMethodError (undefined
method `group_by_products_id' for
#<ActiveRecord::Relation:0x00000008b821c8>):
2013-05-27T06:06:51.999589+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:45:in
`method_missing'
2013-05-27T06:06:51.999589+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/products_controller.rb:86:in
`collection'
2013-05-27T06:06:51.999589+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/resource_controller.rb:146:in
`load_resource'
2013-05-27T06:06:51.999589+00:00 app[web.1]:
vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:473:in
`_run__3451651602338058014__process_action__2683664630390634634__callbacks'



How do i fix this, or roll back to before i added the spree_sample data?

any help appreciated. Just trying to get going with this.

W

Search Discussions

  • Ryan Bigg at May 27, 2013 at 11:19 am
    Hey Will,

    This is a known issue with Spree 1.3.2 unfortunately (
    https://github.com/spree/spree/issues/1247). Could you please try the
    1-3-stable branch and let us know if that fixes your problem?

    On Mon, May 27, 2013 at 2:12 AM, Will Barker wrote:

    After creating a spree shop following the instructions in the github
    readme & pushing spree on heroku both the front and backend worked ok. I
    used the docs here: http://guides.spreecommerce.com/developer/heroku.html which
    worked fine after i had changed the gem file to use postgres instead of
    sqllite.

    I then thought i'd install the seed data like this

    heroku run bundle exec rake db:seed
    heroku run bundle exec rake spree_sample:load

    Now only product list pages display, the admin and detail pages give
    "We're sorry, but something went wrong."

    Here is the top of the heroku logs -t output

    2013-05-27T06:06:51.999589+00:00 app[web.1]: NoMethodError (undefined
    method `group_by_products_id' for
    #<ActiveRecord::Relation:0x00000008b821c8>):
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:45:in
    `method_missing'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/products_controller.rb:86:in
    `collection'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/resource_controller.rb:146:in
    `load_resource'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:473:in
    `_run__3451651602338058014__process_action__2683664630390634634__callbacks'



    How do i fix this, or roll back to before i added the spree_sample data?

    any help appreciated. Just trying to get going with this.

    W


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.

    Register now for SpreeConf
    May 20-21 in Washington, D.C.
    http://spreeconf.com
  • Will Barker at May 28, 2013 at 8:01 am
    Thanks Ryan - that got it installed and looking good.

    unfortunately the the brands and category pages error out, something to do
    with

    ActionView::Template::Error (undefined local variable or method
    `meta_title' for #<Spree::Taxon:0x007f1f480e47a0>):

    but thats probably an error for another day...
    On Monday, 27 May 2013 21:19:19 UTC+10, Ryan Bigg wrote:

    Hey Will,

    This is a known issue with Spree 1.3.2 unfortunately (
    https://github.com/spree/spree/issues/1247). Could you please try the
    1-3-stable branch and let us know if that fixes your problem?


    On Mon, May 27, 2013 at 2:12 AM, Will Barker <willj...@gmail.com<javascript:>
    wrote:
    After creating a spree shop following the instructions in the github
    readme & pushing spree on heroku both the front and backend worked ok. I
    used the docs here: http://guides.spreecommerce.com/developer/heroku.html
    which worked fine after i had changed the gem file to use postgres
    instead of sqllite.

    I then thought i'd install the seed data like this

    heroku run bundle exec rake db:seed
    heroku run bundle exec rake spree_sample:load

    Now only product list pages display, the admin and detail pages give
    "We're sorry, but something went wrong."

    Here is the top of the heroku logs -t output

    2013-05-27T06:06:51.999589+00:00 app[web.1]: NoMethodError (undefined
    method `group_by_products_id' for
    #<ActiveRecord::Relation:0x00000008b821c8>):
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:45:in
    `method_missing'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/products_controller.rb:86:in
    `collection'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/resource_controller.rb:146:in
    `load_resource'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:473:in
    `_run__3451651602338058014__process_action__2683664630390634634__callbacks'



    How do i fix this, or roll back to before i added the spree_sample data?

    any help appreciated. Just trying to get going with this.

    W


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.

    Register now for SpreeConf
    May 20-21 in Washington, D.C.
    http://spreeconf.com
  • Ryan Bigg at May 30, 2013 at 3:00 pm
    Hey Will, are you still getting this error? If so, could you please provide
    the Gemfile + Gemfile.lock for the application so that I can attempt to
    reproduce this issue on my machine? Thank you.

    On Tue, May 28, 2013 at 4:01 AM, Will Barker wrote:

    Thanks Ryan - that got it installed and looking good.

    unfortunately the the brands and category pages error out, something to do
    with

    ActionView::Template::Error (undefined local variable or method
    `meta_title' for #<Spree::Taxon:0x007f1f480e47a0>):

    but thats probably an error for another day...

    On Monday, 27 May 2013 21:19:19 UTC+10, Ryan Bigg wrote:

    Hey Will,

    This is a known issue with Spree 1.3.2 unfortunately (
    https://github.com/spree/**spree/issues/1247<https://github.com/spree/spree/issues/1247>).
    Could you please try the 1-3-stable branch and let us know if that fixes
    your problem?

    On Mon, May 27, 2013 at 2:12 AM, Will Barker wrote:

    After creating a spree shop following the instructions in the github
    readme & pushing spree on heroku both the front and backend worked ok. I
    used the docs here: http://guides.**spreecommerce.com/developer/**
    heroku.html <http://guides.spreecommerce.com/developer/heroku.html> which
    worked fine after i had changed the gem file to use postgres instead of
    sqllite.

    I then thought i'd install the seed data like this

    heroku run bundle exec rake db:seed
    heroku run bundle exec rake spree_sample:load

    Now only product list pages display, the admin and detail pages give
    "We're sorry, but something went wrong."

    Here is the top of the heroku logs -t output

    2013-05-27T06:06:51.999589+00:**00 app[web.1]: NoMethodError (undefined
    method `group_by_products_id' for #<ActiveRecord::Relation:**
    0x00000008b821c8>):
    2013-05-27T06:06:51.999589+00:**00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/**activerecord-3.2.13/lib/**
    active_record/relation/**delegation.rb:45:in `method_missing'
    2013-05-27T06:06:51.999589+00:**00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/**spree_core-1.3.2/app/**
    controllers/spree/admin/**products_controller.rb:86:in `collection'
    2013-05-27T06:06:51.999589+00:**00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/**spree_core-1.3.2/app/**
    controllers/spree/admin/**resource_controller.rb:146:in `load_resource'
    2013-05-27T06:06:51.999589+00:**00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/**activesupport-3.2.13/lib/**
    active_support/callbacks.rb:**473:in `_run__3451651602338058014__**
    process_action__**2683664630390634634__**callbacks'



    How do i fix this, or roll back to before i added the spree_sample data?

    any help appreciated. Just trying to get going with this.

    W


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.

    Register now for SpreeConf
    May 20-21 in Washington, D.C.
    http://spreeconf.com

    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.
  • Binaryphile at Aug 13, 2013 at 7:41 pm
    Hi Will,

    Just checking about the meta_title error...are your migrations up to date?

    bundle exec rake railties:install:migrations
    bundle exec rake db:migrate

    Might do it.
    On Tuesday, May 28, 2013 4:01:18 AM UTC-4, Will Barker wrote:

    Thanks Ryan - that got it installed and looking good.

    unfortunately the the brands and category pages error out, something to do
    with

    ActionView::Template::Error (undefined local variable or method
    `meta_title' for #<Spree::Taxon:0x007f1f480e47a0>):

    but thats probably an error for another day...
    On Monday, 27 May 2013 21:19:19 UTC+10, Ryan Bigg wrote:

    Hey Will,

    This is a known issue with Spree 1.3.2 unfortunately (
    https://github.com/spree/spree/issues/1247). Could you please try the
    1-3-stable branch and let us know if that fixes your problem?

    On Mon, May 27, 2013 at 2:12 AM, Will Barker wrote:

    After creating a spree shop following the instructions in the github
    readme & pushing spree on heroku both the front and backend worked ok. I
    used the docs here:
    http://guides.spreecommerce.com/developer/heroku.html which worked fine
    after i had changed the gem file to use postgres instead of sqllite.

    I then thought i'd install the seed data like this

    heroku run bundle exec rake db:seed
    heroku run bundle exec rake spree_sample:load

    Now only product list pages display, the admin and detail pages give
    "We're sorry, but something went wrong."

    Here is the top of the heroku logs -t output

    2013-05-27T06:06:51.999589+00:00 app[web.1]: NoMethodError (undefined
    method `group_by_products_id' for
    #<ActiveRecord::Relation:0x00000008b821c8>):
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activerecord-3.2.13/lib/active_record/relation/delegation.rb:45:in
    `method_missing'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/products_controller.rb:86:in
    `collection'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/spree_core-1.3.2/app/controllers/spree/admin/resource_controller.rb:146:in
    `load_resource'
    2013-05-27T06:06:51.999589+00:00 app[web.1]:
    vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:473:in
    `_run__3451651602338058014__process_action__2683664630390634634__callbacks'



    How do i fix this, or roll back to before i added the spree_sample data?

    any help appreciated. Just trying to get going with this.

    W


    --

    Ryan Bigg
    Community Manager
    Spree Commerce, Inc.

    Register now for SpreeConf
    May 20-21 in Washington, D.C.
    http://spreeconf.com

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupspree-user @
categoriesrubyonrails
postedMay 27, '13 at 6:12a
activeAug 13, '13 at 7:41p
posts5
users3
websitespreecommerce.com
irc#RubyOnRails

People

Translate

site design / logo © 2022 Grokbase