商品をカートに追加しようとしたり、/cart を取得しようとすると、エラーが発生します ("controller"=>"spree/orders", "action"=>"edit"):
undefined method `t' for #<Object:0x007fcf73c3de40>
私が使う
gem 'spree', :github => "spree/spree", :branch => "1-2-stable"
gem 'rails', '3.2.13'
どうすればこれを修正できますか?
リクエストに関する情報:
Request parameters
{"controller"=>"spree/orders", "action"=>"edit"}
Rack session
{"session_id"=>"27fa800c8ce44449aa52e1dd12f8a00d", "_csrf_token"=>"oyxFyT2w3bBnslMMTodMXu1/+mK4BFlxBt/yoVyx8wk=", "access_token"=>"4445ad766b7af28b", "order_id"=>1090, "warden.user.user.key"=>[[1], "x6tiNUojzd5fny1uzefx"], "guest_token"=>nil, "spree_user_signup"=>nil}
Local Variables
haml_temp
nil
_hamlout
#<Haml::Buffer:0x007fcf7b411f48 @active=true, @upper=nil, @options={:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>false, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false}, @buffer="", @tabulation=0, @real_tabs=1>
_erbout
""
scope
#<Binding:0x007fcf7b4127e0>
locals
{}
block
nil
parent
nil
buffer
#<Haml::Buffer:0x007fcf7b411f48 @active=true, @upper=nil, @options={:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>false, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false}, @buffer="", @tabulation=0, @real_tabs=1>
scope_object
#<Object:0x007fcf7b419158 @_haml_locals={:_hamlout=>#<Haml::Buffer:0x007fcf7b411f48 @active=true, @upper=nil, @options={:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>false, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false}, @buffer="", @tabulation=0, @real_tabs=1>, :_erbout=>""}, @haml_buffer=nil>
e
nil
Instance Variables
@_haml_locals
{:_hamlout=>#<Haml::Buffer:0x007fcf7b411f48 @active=true, @upper=nil, @options={:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>false, :format=>:html5, :encoding=>"UTF-8", :escape_html=>false, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false}, @buffer="", @tabulation=0, @real_tabs=1>, :_erbout=>""}
@haml_buffer
nil