I''m trying to put Spree 0.30.1 on Heroku and I''m getting the following error message (from the heroku logs); NameError (undefined local variable or method ''auth_user'' for #<ProductsController:0x2b4ee9fb07f8>): I''ve tried Google and the Spree Google Group but I''m no nearer to an answer. Can anyone point me in the right direction (or any direction)? Ewen -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Hassan Schroeder
2010-Nov-28 15:39 UTC
Re: NameError - any pointer on how to track down problem
On Fri, Nov 26, 2010 at 3:32 AM, Ewen <ejc7-9ZBzrMYh9B6SE57U5PDhIQ@public.gmane.org> wrote:> I''m trying to put Spree 0.30.1 on Heroku and I''m getting the following > error message (from the heroku logs); > > NameError (undefined local variable or method ''auth_user'' for > #<ProductsController:0x2b4ee9fb07f8>):1. Does your app run locally in production mode? 2. Is whatever supplies ''auth_user'' specified in your .gems file? 3. Does your Heroku DB match your local DB, either through having run all migrations or doing `heroku db:push` ? -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org twitter: @hassan -- 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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.