spree icon indicating copy to clipboard operation
spree copied to clipboard

Spree 1.3.3: NameError in Spree/taxons#show

Open gregfelice opened this issue 13 years ago • 2 comments

Sooo confused. Any help is greatly appreciated.

The Error

Showing /home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store/gems/spree_core-1.3.3/app/views/spree/shared/_head.html.erb where line #2 raised:

undefined local variable or method `meta_title' for #<Spree::Taxon:0x000000073507d0>

Extracted source (around line #2):

1: <meta charset="utf-8">
2: <title><%= title %></title>
3: <meta content="text/html; charset=UTF-8" http-equiv="Content-Type" />
4: <meta content="width=device-width, initial-scale=1.0, maximum-scale=1" name="viewport">
5: <%== meta_data_tags %>

Trace of template inclusion: /home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store/gems/spree_core-1.3.3/app/views/spree/layouts/spree_application.html.erb

Rails.root: /home/gregf/dev/drericawaters_store/drericawaters_store

RVM Info

ruby-2.0.0-p0@drericawaters_store:

  system:
    uname:       "Linux aboa.constantlabs.com 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011 x86_64 x86_64 x86_64 GNU/Linux"
    system:      "centos/6.2/x86_64"
    bash:        "/bin/bash => GNU bash, version 4.1.2(1)-release (x86_64-redhat-linux-gnu)"
    zsh:         "/bin/zsh => zsh 4.3.10 (x86_64-redhat-linux-gnu)"

  rvm:
    version:      "rvm 1.19.0 (stable) by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.io/]"
    updated:      "6 months 11 days 19 hours 46 minutes 38 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "2.0.0p0"
    date:         "2013-02-24"
    platform:     "x86_64-linux"
    patchlevel:   "2013-02-24 revision 39474"
    full_version: "ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-linux]"

  homes:
    gem:          "/home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store"
    ruby:         "/home/gregf/.rvm/rubies/ruby-2.0.0-p0"

  binaries:
    ruby:         "/home/gregf/.rvm/rubies/ruby-2.0.0-p0/bin/ruby"
    irb:          "/home/gregf/.rvm/rubies/ruby-2.0.0-p0/bin/irb"
    gem:          "/home/gregf/.rvm/rubies/ruby-2.0.0-p0/bin/gem"
    rake:         "/home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store/bin/rake"

  environment:
    PATH:         "/home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store/bin:/home/gregf/.rvm/gems/ruby-2.0.0-p0@global/bin:/home/gregf/.rvm/rubies/ruby-2.0.0-p0/bin:/home/gregf/.rvm/bin:/home/gregf/local/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gregf/bin"
    GEM_HOME:     "/home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store"
    GEM_PATH:     "/home/gregf/.rvm/gems/ruby-2.0.0-p0@drericawaters_store:/home/gregf/.rvm/gems/ruby-2.0.0-p0@global"
    MY_RUBY_HOME: "/home/gregf/.rvm/rubies/ruby-2.0.0-p0"
    IRBRC:        "/home/gregf/.rvm/rubies/ruby-2.0.0-p0/.irbrc"
    RUBYOPT:      ""
    gemset:       "drericawaters_store"

Gemfile.lock

IT
  remote: git://github.com/spree/spree_auth_devise.git
  revision: b2b82f1bbe4b47a0713bcf70af8b3c17fa39c0d0
  branch: 1-3-stable
  specs:
    spree_auth_devise (1.0.0)
      cancan (~> 1.6.7)
      devise (~> 2.2.3)
      devise-encryptable (= 0.1.2)
      spree_core

GIT
  remote: git://github.com/spree/spree_gateway.git
  revision: c440ab5a717e432ef23340239c9b9d8b504a6672
  branch: 1-3-stable
  specs:
    spree_gateway (1.2.0.rc2)
      savon (~> 1.2)
      spree_core (~> 1.0)

GEM
  remote: https://rubygems.org/
  specs:
    actionmailer (3.2.13)
      actionpack (= 3.2.13)
      mail (~> 2.5.3)
    actionpack (3.2.13)
      activemodel (= 3.2.13)
      activesupport (= 3.2.13)
      builder (~> 3.0.0)
      erubis (~> 2.7.0)
      journey (~> 1.0.4)
      rack (~> 1.4.5)
      rack-cache (~> 1.2)
      rack-test (~> 0.6.1)
      sprockets (~> 2.2.1)
    active_utils (2.0.1)
      activesupport (>= 2.3.11)
      i18n
    activemerchant (1.39.2)
      active_utils (~> 2.0, >= 2.0.1)
      activesupport (>= 2.3.14, < 5.0.0)
      builder (>= 2.1.2, < 4.0.0)
      i18n (~> 0.5)
      json (~> 1.7)
      money (< 6.0.0)
      nokogiri (~> 1.4)
    activemodel (3.2.13)
      activesupport (= 3.2.13)
      builder (~> 3.0.0)
    activerecord (3.2.13)
      activemodel (= 3.2.13)
      activesupport (= 3.2.13)
      arel (~> 3.0.2)
      tzinfo (~> 0.3.29)
   activeresource (3.2.13)
      activemodel (= 3.2.13)
      activesupport (= 3.2.13)
    activesupport (3.2.13)
      i18n (= 0.6.1)
      multi_json (~> 1.0)
    acts_as_list (0.1.4)
    akami (1.2.0)
      gyoku (>= 0.4.0)
      nokogiri (>= 1.4.0)
    arel (3.0.2)
    awesome_nested_set (2.1.5)
      activerecord (>= 3.0.0)
    aws-sdk (1.3.9)
      httparty (~> 0.7)
      json (~> 1.4)
      nokogiri (>= 1.4.4)
      uuidtools (~> 2.1)
    bcrypt-ruby (3.0.1)
    builder (3.0.4)
    cancan (1.6.8)
    climate_control (0.0.3)
      activesupport (>= 3.0)
    cocaine (0.5.2)
      climate_control (>= 0.0.3, < 1.0)
    coffee-rails (3.2.2)
      coffee-script (>= 2.2.0)
      railties (~> 3.2.0)
    coffee-script (2.2.0)
      coffee-script-source
      execjs
    coffee-script-source (1.6.3)
    deface (0.9.1)
      nokogiri (~> 1.5.0)
      rails (~> 3.1)
    devise (2.2.4)
      bcrypt-ruby (~> 3.0)
      orm_adapter (~> 0.1)
      railties (~> 3.1)
      warden (~> 1.2.1)
    devise-encryptable (0.1.2)
      devise (>= 2.1.0)
    erubis (2.7.0)
    execjs (1.4.0)
      multi_json (~> 1.0)
    ffaker (1.15.0)
    gyoku (0.4.6)
      builder (>= 2.1.2)
    high_voltage (2.0.0)
    highline (1.6.18)
    hike (1.2.3)
    httparty (0.12.0)
      json (~> 1.8)
      multi_xml (>= 0.5.2)
    httpi (1.1.1)   rack
    i18n (0.6.1)
    journey (1.0.4)
    jquery-rails (2.2.2)
      railties (>= 3.0, < 5.0)
      thor (>= 0.14, < 2.0)
    json (1.8.0)
    kaminari (0.13.0)
      actionpack (>= 3.0.0)
      activesupport (>= 3.0.0)
      railties (>= 3.0.0)
    kgio (2.8.0)
    libv8 (3.11.8.17)
    mail (2.5.4)
      mime-types (~> 1.16)
      treetop (~> 1.4.8)
    mime-types (1.25)
    money (5.0.0)
      i18n (~> 0.4)
      json
    multi_json (1.8.1)
    multi_xml (0.5.5)
    mysql2 (0.3.11)
    nokogiri (1.5.10)
    nori (1.1.5)
    orm_adapter (0.4.0)
    paperclip (2.8.0)
      activerecord (>= 2.3.0)
      activesupport (>= 2.3.2)
      cocaine (>= 0.0.2)
      mime-types
    polyamorous (0.5.0)
      activerecord (~> 3.0)
    polyglot (0.3.3)
    quiet_assets (1.0.2)
      railties (>= 3.1, < 5.0)
    rabl (0.7.2)
      activesupport (>= 2.3.14)
      multi_json (~> 1.0)
    rack (1.4.5)
    rack-cache (1.2)
      rack (>= 0.4)
    rack-ssl (1.3.3)
      rack
    rack-test (0.6.2)
      rack (>= 1.0)
    rails (3.2.13)
      actionmailer (= 3.2.13)
      actionpack (= 3.2.13)
      activerecord (= 3.2.13)
      activeresource (= 3.2.13)
      activesupport (= 3.2.13)
      bundler (~> 1.0)
      railties (= 3.2.13)
    railties (3.2.13)
    actionpack (= 3.2.13)
      activesupport (= 3.2.13)
      rack-ssl (~> 1.3.2)
      rake (>= 0.8.7)
      rdoc (~> 3.4)
      thor (>= 0.14.6, < 2.0)
    raindrops (0.11.0)
    rake (10.1.0)
    ransack (0.7.2)
      actionpack (~> 3.0)
      activerecord (~> 3.0)
      polyamorous (~> 0.5.0)
    rdoc (3.12.2)
      json (~> 1.4)
    ref (1.0.5)
    sass (3.2.9)
    sass-rails (3.2.6)
      railties (~> 3.2.0)
      sass (>= 3.1.10)
      tilt (~> 1.3)
    savon (1.2.0)
      akami (~> 1.2.0)
      builder (>= 2.1.2)
      gyoku (~> 0.4.5)
      httpi (~> 1.1.0)
      nokogiri (>= 1.4.0)
      nori (~> 1.1.0)
      wasabi (~> 2.5.0)
    select2-rails (3.2.1)
      thor (~> 0.14)
    spree (1.3.3)
      spree_api (= 1.3.3)
      spree_cmd (= 1.3.3)
      spree_core (= 1.3.3)
      spree_promo (= 1.3.3)
      spree_sample (= 1.3.3)
    spree_api (1.3.3)
      spree_core (= 1.3.3)
      versioncake (= 0.4.0)
    spree_cmd (1.3.3)
      thor (>= 0.14.6)
    spree_core (1.3.3)
      activemerchant (~> 1.31)
      acts_as_list (= 0.1.4)
      awesome_nested_set (= 2.1.5)
      aws-sdk (~> 1.3.4)
      cancan (= 1.6.8)
      deface (>= 0.9.0)
      ffaker (~> 1.15.0)
      highline (= 1.6.18)
      jquery-rails (~> 2.2.0)
      json (>= 1.5.5)
      kaminari (= 0.13.0)
      money (= 5.0.0)
      paperclip (~> 2.8)
    rabl (= 0.7.2)
      rails (~> 3.2.13)
      ransack (= 0.7.2)
      select2-rails (= 3.2.1)
      state_machine (= 1.1.2)
      stringex (~> 1.3.2)
      truncate_html (~> 0.5.5)
    spree_promo (1.3.3)
      spree_core (= 1.3.3)
    spree_sample (1.3.3)
      spree_core (= 1.3.3)
    sprockets (2.2.2)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    state_machine (1.1.2)
    stringex (1.3.3)
    therubyracer (0.11.4)
      libv8 (~> 3.11.8.12)
      ref
    thor (0.18.1)
    tilt (1.4.1)
    treetop (1.4.15)
      polyglot
      polyglot (>= 0.3.1)
    truncate_html (0.5.5)
    tzinfo (0.3.38)
    uglifier (2.1.1)
      execjs (>= 0.3.0)
      multi_json (~> 1.0, >= 1.0.2)
    unicorn (4.6.3)
      kgio (~> 2.6)
      rack
      raindrops (~> 0.7)
    uuidtools (2.1.4)
    versioncake (0.4.0)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
    warden (1.2.1)
      rack (>= 1.0)
    wasabi (2.5.1)
      httpi (~> 1.0)
      nokogiri (>= 1.4.0)

PLATFORMS
  ruby

DEPENDENCIES
  coffee-rails (~> 3.2.1)
  high_voltage
  jquery-rails
  mysql2
  quiet_assets
    spree_core (= 1.3.3)
    spree_sample (1.3.3)
      spree_core (= 1.3.3)
    sprockets (2.2.2)
      hike (~> 1.2)
      multi_json (~> 1.0)
      rack (~> 1.0)
      tilt (~> 1.1, != 1.3.0)
    state_machine (1.1.2)
    stringex (1.3.3)
    therubyracer (0.11.4)
      libv8 (~> 3.11.8.12)
      ref
    thor (0.18.1)
    tilt (1.4.1)
    treetop (1.4.15)
      polyglot
      polyglot (>= 0.3.1)
    truncate_html (0.5.5)
    tzinfo (0.3.38)
    uglifier (2.1.1)
      execjs (>= 0.3.0)
      multi_json (~> 1.0, >= 1.0.2)
    unicorn (4.6.3)
      kgio (~> 2.6)
      rack
      raindrops (~> 0.7)
    uuidtools (2.1.4)
    versioncake (0.4.0)
      actionpack (>= 3.0)
      activesupport (>= 3.0)
      railties (>= 3.0)
    warden (1.2.1)
      rack (>= 1.0)
    wasabi (2.5.1)
      httpi (~> 1.0)
      nokogiri (>= 1.4.0)

PLATFORMS
  ruby

DEPENDENCIES
  coffee-rails (~> 3.2.1)
  high_voltage
  jquery-rails
  mysql2
  quiet_assets
  rails (= 3.2.13)
  sass-rails (~> 3.2.3)
  spree (= 1.3.3)
  spree_auth_devise!
  spree_gateway!
  therubyracer
  uglifier (>= 1.0.3)
  unicorn

gregfelice avatar Oct 14 '13 00:10 gregfelice

Hi @gregfelice, are you sure that you've run the latest migrations?

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

This column should definitely exist.

radar avatar Oct 14 '13 00:10 radar

That worked. Thank you for your continuing awesomeness.

gregfelice avatar Oct 14 '13 01:10 gregfelice