spec/fixtures/app/models/gift.rb in lol_dba-2.0.3 vs spec/fixtures/app/models/gift.rb in lol_dba-2.1.0
- old
+ new
@@ -1,6 +1,6 @@
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'
+ has_and_belongs_to_many :users, join_table: :purchases, association_foreign_key: :buyer_id, foreign_key: :present_id
end