Nikolay
2012-Dec-16 14:19 UTC
undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc>
After entering data in http://localhost:3000/checkout/update/address form i getting the following error: NoMethodError in Spree::CheckoutController#update undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc> A error chunk of Development.log https://gist.github.com/4307695 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/bdQxOzC4Qj0J. For more options, visit https://groups.google.com/groups/opt_out.
Nikolay
2012-Dec-16 14:27 UTC
Re: undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc>
My gemfile is https://gist.github.com/4307796 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/R8FCNYNQlfkJ. For more options, visit https://groups.google.com/groups/opt_out.
Colin Law
2012-Dec-16 14:54 UTC
Re: undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc>
On 16 December 2012 14:19, Nikolay <itsnikolay-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> After entering data in http://localhost:3000/checkout/update/address form i > getting the following error: > > > NoMethodError in Spree::CheckoutController#update > > undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc>Have a look at the Rails Guide on Debugging, it will show you techniques that can help you to debug the code. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/groups/opt_out.
Sumit Srivastava
2012-Dec-17 09:09 UTC
Re: undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc>
On Sunday, 16 December 2012 19:49:11 UTC+5:30, Nikolay wrote:> > After entering data in http://localhost:3000/checkout/update/address form > i getting the following error: > > NoMethodError in Spree::CheckoutController#update > > undefined method `user_id='' for #<Spree::Address:0xb4e8b2dc> > > > A error chunk of Development.log > https://gist.github.com/4307695 >Seems like either you haven''t run your migration. Secondly you might be trying to use an attribute which is not delegated to Spree from Address. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/MSr-am6wnb0J. For more options, visit https://groups.google.com/groups/opt_out.