Skip to content

Commit

Permalink
fixed cart on account
Browse files Browse the repository at this point in the history
  • Loading branch information
k2052 committed Apr 17, 2012
1 parent 210b1f6 commit b30abd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/garry/models/Account.rb
Expand Up @@ -44,7 +44,7 @@ def self.included(klass)
after_save :update_stripe, :if => :update_stripe_required

# Associations
has_one :cart, :dependent => :destroy if defined?(Cart)
has_one :cart, :dependent => :destroy if defined?(::Cart)
end
end

Expand Down

0 comments on commit b30abd1

Please sign in to comment.