Add payment structure

This commit is contained in:
2015-04-29 10:21:12 +02:00
parent 9d5e3f684c
commit e4e7198af5
8 changed files with 59 additions and 5 deletions
+1
View File
@@ -19,6 +19,7 @@ class User
has_and_belongs_to_many :lists, storing_keys: false
has_many :orders
has_many :list_payments
validates_uniqueness_of :email
before_save :ensure_authentication_token