spree-contrib / spree_rdr_theme

WIP - everything might change.
BSD 3-Clause "New" or "Revised" License
51 stars 33 forks source link

undefined local variable or method `current_user' #16

Closed drc37 closed 11 years ago

drc37 commented 11 years ago

I am getting a weird error once I install this theme. It is saying that current_user doesn't exist. I did a clean install with all the defaults set to yes (dummy data, etc).

I am using rails 3.2.13 and here are my other spree gems: gem 'pg' gem 'spree', '1.3.2' gem 'spree_gateway', :github => 'spree/spree_gateway', :branch => '1-3-stable' gem 'spree_auth_devise', :github => 'spree/spree_auth_devise', :branch => '1-3-stable' gem 'spree_rdr_theme', :git => 'git://github.com/spree/spree_rdr_theme.git'

Output:

Started GET "/" for 127.0.0.1 at 2013-05-15 21:28:09 -0600
Processing by Spree::HomeController#index as HTML
  Spree::User Load (0.6ms)  SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 LIMIT 1
  Spree::Order Load (0.4ms)  SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."user_id" = 1 AND "spree_orders"."completed_at" IS NULL ORDER BY created_at ASC LIMIT 1
  Spree::Order Load (0.3ms)  SELECT "spree_orders".* FROM "spree_orders" WHERE "spree_orders"."id" = 1069267030 AND "spree_orders"."currency" = 'USD' LIMIT 1
  Spree::Adjustment Load (0.3ms)  SELECT "spree_adjustments".* FROM "spree_adjustments" WHERE "spree_adjustments"."adjustable_type" = 'Spree::Order' AND "spree_adjustments"."adjustable_id" IN (1069267030) ORDER BY created_at ASC
Deface: 2 overrides found for 'spree/layouts/spree_application'
Deface: 'add_analytics_header' matched 1 times with 'head'
Deface: 'replace_body' matched 1 times with '[data-hook='body']'
Deface: [WARNING] No :original defined for 'replace_body', you should change its definition to include:
 :original => '77e1d75fe67e948d99deb620579ffaf2ac5f511f' 
Deface: 1 overrides found for 'spree/shared/_taxonomies'
Deface: 'replace_taxonomies' matched 1 times with '#taxonomies[data-hook]'
Deface: [WARNING] No :original defined for 'replace_taxonomies', you should change its definition to include:
 :original => 'e8fa8dd2075817aa3ddced3ee631b900ce48e5c5' 
  Spree::Taxonomy Load (0.4ms)  SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Categories' ORDER BY spree_taxonomies.position LIMIT 1
  Spree::Taxon Load (0.3ms)  SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 854451430 AND "spree_taxons"."parent_id" IS NULL LIMIT 1
  Spree::Taxon Load (0.2ms)  SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1000 ORDER BY lft
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_rdr_theme-139ef5fb7f33/app/views/spree/shared/_all_products.html.erb (5.0ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_taxonomies.html.erb (7.0ms)
Deface: 1 overrides found for 'spree/shared/_products'
Deface: 'replace_products' matched 1 times with '#products[data-hook]'
Deface: [WARNING] No :original defined for 'replace_products', you should change its definition to include:
 :original => 'e90036f2fc4166e77ae88b40dc29b95c5ac340c5' 
  SQL (1.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
   (0.6ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  CACHE (0.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
  CACHE (0.0ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/bundler/gems/spree_rdr_theme-139ef5fb7f33/app/views/spree/shared/_product_banner.html.erb (0.4ms)
  CACHE (0.0ms)  SELECT DISTINCT "spree_products".id FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL) LIMIT 12 OFFSET 0
  SQL (1.2ms)  SELECT "spree_products"."id" AS t0_r0, "spree_products"."name" AS t0_r1, "spree_products"."description" AS t0_r2, "spree_products"."available_on" AS t0_r3, "spree_products"."deleted_at" AS t0_r4, "spree_products"."permalink" AS t0_r5, "spree_products"."meta_description" AS t0_r6, "spree_products"."meta_keywords" AS t0_r7, "spree_products"."tax_category_id" AS t0_r8, "spree_products"."shipping_category_id" AS t0_r9, "spree_products"."count_on_hand" AS t0_r10, "spree_products"."created_at" AS t0_r11, "spree_products"."updated_at" AS t0_r12, "spree_products"."on_demand" AS t0_r13, "spree_variants"."id" AS t1_r0, "spree_variants"."sku" AS t1_r1, "spree_variants"."weight" AS t1_r2, "spree_variants"."height" AS t1_r3, "spree_variants"."width" AS t1_r4, "spree_variants"."depth" AS t1_r5, "spree_variants"."deleted_at" AS t1_r6, "spree_variants"."is_master" AS t1_r7, "spree_variants"."product_id" AS t1_r8, "spree_variants"."count_on_hand" AS t1_r9, "spree_variants"."cost_price" AS t1_r10, "spree_variants"."position" AS t1_r11, "spree_variants"."lock_version" AS t1_r12, "spree_variants"."on_demand" AS t1_r13, "spree_variants"."cost_currency" AS t1_r14, "spree_prices"."id" AS t2_r0, "spree_prices"."variant_id" AS t2_r1, "spree_prices"."amount" AS t2_r2, "spree_prices"."currency" AS t2_r3 FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND "spree_products"."id" IN (1035865702, 500501192, 176895127, 723959550, 107377505, 528469905, 459084718, 569012001, 1060500592, 596960057, 398400663, 187438981) AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 215054540 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 215054540 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 459084718 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 215054540 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 504220342 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 504220342 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 723959550 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 504220342 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 489273655 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 489273655 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1060500592 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 489273655 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 429921481 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 429921481 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.7ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 187438981 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 429921481 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 599112055 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 599112055 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 1035865702 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 599112055 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 336514991 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 336514991 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 569012001 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 336514991 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 726086391 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 726086391 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 528469905 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Variant Load (0.2ms)  SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 528469905 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL ORDER BY "spree_variants".position ASC
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 726086391 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 78660486 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.4ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 78660486 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 398400663 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 78660486 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 748173072 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 748173072 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.2ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 596960057 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 748173072 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 954827632 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 954827632 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 500501192 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.3ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 954827632 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 438855057 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 438855057 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.3ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 176895127 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 438855057 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 833839126 AND "spree_assets"."viewable_type" = 'Spree::Variant'
  Spree::Image Load (0.3ms)  SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 833839126 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position LIMIT 1
   (0.4ms)  SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 107377505 AND "spree_variants"."is_master" = 'f' AND "spree_variants"."deleted_at" IS NULL
  Spree::Price Load (0.2ms)  SELECT "spree_prices".* FROM "spree_prices" WHERE "spree_prices"."variant_id" = 833839126 AND "spree_prices"."currency" = 'USD' LIMIT 1
   (0.6ms)  SELECT COUNT(*) FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_products.html.erb (154.9ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/home/index.html.erb within spree/layouts/spree_application (262.6ms)
Deface: 1 overrides found for 'spree/shared/_head'
Deface: 'add_to_head' matched 1 times with 'code[erb-loud]:contains('stylesheet_link_tag')'
Deface: [WARNING] No :original defined for 'add_to_head', you should change its definition to include:
 :original => '24003d3dde9d8f9d3a51dfe92bc58fe1e528298a' 
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/spree_core-1.3.2/app/views/spree/shared/_head.html.erb (421.2ms)
Deface: 2 overrides found for 'spree/layouts/spree_application'
Deface: 'add_analytics_header' matched 1 times with 'head'
Deface: 'replace_body' matched 1 times with '[data-hook='body']'
Deface: [WARNING] No :original defined for 'replace_body', you should change its definition to include:
 :original => '77e1d75fe67e948d99deb620579ffaf2ac5f511f' 
  Spree::Product Load (2.0ms)  SELECT "spree_products".* FROM "spree_products" INNER JOIN "spree_variants" ON "spree_variants"."product_id" = "spree_products"."id" AND "spree_variants"."is_master" = 't' INNER JOIN "spree_prices" ON "spree_prices"."variant_id" = "spree_variants"."id" WHERE "spree_products"."deleted_at" IS NULL AND "spree_prices"."currency" = 'USD' AND ("spree_products".available_on <= '2013-05-16 03:28:09.046024') AND (spree_prices.amount IS NOT NULL)
Completed 500 Internal Server Error in 994ms

ActionView::Template::Error (undefined local variable or method `current_user' for #<#<Class:0x007f8b593a5ac0>:0x007f8b59164e78>):
    22:           <%= form_tag products_url, :method => :get do %>
    23:             <input type="search" id="s1" class="empty" name="keywords" placeholder="Search Railsdog Radio"><% end %>
    24:           <nav><%= link_to "products", products_path %>
    25:             <% if current_user %>
    26:               <%= link_to t('my_account'), account_path, :class => "cart" %>
    27:               <%= link_to t('logout'), destroy_user_session_path, :class => "cart" %>
    28:             <% else %>
  spree_core (1.3.2) app/helpers/spree/base_helper.rb:162:in `method_missing'
  spree_core (1.3.2) app/views/spree/layouts/spree_application.html.erb:25:in `_f483ecfd7a9cf8632c9a717c749240bb'
  actionpack (3.2.13) lib/action_view/template.rb:145:in `block in render'
  activesupport (3.2.13) lib/active_support/notifications.rb:125:in `instrument'
  actionpack (3.2.13) lib/action_view/template.rb:143:in `render'
  deface (0.9.1) lib/deface/action_view_extensions.rb:37:in `render'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:59:in `render_with_layout'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
  actionpack (3.2.13) lib/action_view/renderer/template_renderer.rb:18:in `render'
  actionpack (3.2.13) lib/action_view/renderer/renderer.rb:36:in `render_template'
  actionpack (3.2.13) lib/action_view/renderer/renderer.rb:17:in `render'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:110:in `_render_template'
  actionpack (3.2.13) lib/action_controller/metal/streaming.rb:225:in `_render_template'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:103:in `render_to_body'
  actionpack (3.2.13) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
  actionpack (3.2.13) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:88:in `render'
  actionpack (3.2.13) lib/action_controller/metal/rendering.rb:16:in `render'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
  activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
  activesupport (3.2.13) lib/active_support/core_ext/benchmark.rb:5:in `ms'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
  activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:39:in `render'
  actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:232:in `default_render'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:160:in `to_html'
  spree_core (1.3.2) lib/spree/core/responder.rb:19:in `to_html'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:153:in `respond'
  actionpack (3.2.13) lib/action_controller/metal/responder.rb:146:in `call'
  spree_core (1.3.2) lib/spree/core/controller_helpers/respond_with.rb:20:in `respond_with'
  spree_core (1.3.2) app/controllers/spree/home_controller.rb:11:in `index'
  actionpack (3.2.13) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
  actionpack (3.2.13) lib/abstract_controller/base.rb:167:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/rendering.rb:10:in `process_action'
  actionpack (3.2.13) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
  activesupport (3.2.13) lib/active_support/callbacks.rb:458:in `_run__1688625890411698995__process_action__4369056183639112928__callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.13) lib/abstract_controller/callbacks.rb:17:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/rescue.rb:29:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
  activesupport (3.2.13) lib/active_support/notifications.rb:123:in `block in instrument'
  activesupport (3.2.13) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
  activesupport (3.2.13) lib/active_support/notifications.rb:123:in `instrument'
  actionpack (3.2.13) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
  actionpack (3.2.13) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
  activerecord (3.2.13) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
  actionpack (3.2.13) lib/abstract_controller/base.rb:121:in `process'
  actionpack (3.2.13) lib/abstract_controller/rendering.rb:45:in `process'
  actionpack (3.2.13) lib/action_controller/metal.rb:203:in `dispatch'
  actionpack (3.2.13) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
  actionpack (3.2.13) lib/action_controller/metal.rb:246:in `block in action'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:36:in `call'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
  spree_core (1.3.2) lib/spree/core/middleware/redirect_legacy_product_url.rb:13:in `call'
  spree_core (1.3.2) lib/spree/core/middleware/seo_assist.rb:27:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/railtie/configurable.rb:30:in `method_missing'
  journey (1.0.4) lib/journey/router.rb:68:in `block in call'
  journey (1.0.4) lib/journey/router.rb:56:in `each'
  journey (1.0.4) lib/journey/router.rb:56:in `call'
  actionpack (3.2.13) lib/action_dispatch/routing/route_set.rb:612:in `call'
  warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
  warden (1.2.1) lib/warden/manager.rb:34:in `catch'
  warden (1.2.1) lib/warden/manager.rb:34:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
  rack (1.4.5) lib/rack/etag.rb:23:in `call'
  rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/head.rb:14:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/flash.rb:242:in `call'
  rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
  rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/cookies.rb:341:in `call'
  activerecord (3.2.13) lib/active_record/query_cache.rb:64:in `call'
  activerecord (3.2.13) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `_run__1713415380289992154__call__3894728976924533088__callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:405:in `__run_callback'
  activesupport (3.2.13) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
  activesupport (3.2.13) lib/active_support/callbacks.rb:81:in `run_callbacks'
  actionpack (3.2.13) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/reloader.rb:65:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
  railties (3.2.13) lib/rails/rack/logger.rb:32:in `call_app'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `block in call'
  activesupport (3.2.13) lib/active_support/tagged_logging.rb:22:in `tagged'
  railties (3.2.13) lib/rails/rack/logger.rb:16:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/request_id.rb:22:in `call'
  rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
  rack (1.4.5) lib/rack/runtime.rb:17:in `call'
  activesupport (3.2.13) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
  rack (1.4.5) lib/rack/lock.rb:15:in `call'
  actionpack (3.2.13) lib/action_dispatch/middleware/static.rb:63:in `call'
  railties (3.2.13) lib/rails/engine.rb:479:in `call'
  railties (3.2.13) lib/rails/application.rb:223:in `call'
  rack (1.4.5) lib/rack/content_length.rb:14:in `call'
  railties (3.2.13) lib/rails/rack/log_tailer.rb:17:in `call'
  rack (1.4.5) lib/rack/handler/webrick.rb:59:in `service'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
  /usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'

  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
  Rendered /usr/local/rvm/gems/ruby-1.9.3-p194/gems/actionpack-3.2.13/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (16.3ms)
[2013-05-15 21:28:10] WARN  Could not determine content-length of response body. Set content-length of the response or set Response#chunked = true
radar commented 11 years ago

Hey @drc37: I've fixed that issue for you now. It was due to a change in spree_auth_devise. Thank you for bringing it to our attention.


In future, please remember to format Large Walls o' Text on GitHub with a triple backtick.

\```
like this, but without the backslashes.
\```

That just makes it easier for us to read and process.

Thanks again! :)

drc37 commented 11 years ago

Thanks for the awesomely quick response. Will remember to do it. Thanks,