spec/fixtures/app/models/gift.rb in lol_dba-2.1.5 vs spec/fixtures/app/models/gift.rb in lol_dba-2.1.6
- old
+ new
@@ -1,6 +1,4 @@
class Gift < ActiveRecord::Base
-
self.primary_key = :custom_primary_key
has_and_belongs_to_many :users, join_table: :purchases, association_foreign_key: :buyer_id, foreign_key: :present_id
-
end