You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is working fine in development and staging environment. But getting "undefined local variable or method `acts_as_shopping_cart' for #Class:0x00000007741b28 (NameError)" in production environment.
I am using Rails 4 and I got this error:
undefined local variable or method `acts_as_shopping_cart' for #Class:0x0000000766b320
app/models/shopping_cart.rb:
class ShoppingCart < ActiveRecord::Base
acts_as_shopping_cart
end
Anyone could help me, I couldn't find any information about this error. :(
The text was updated successfully, but these errors were encountered: