app/models/gamification/item_group.rb in go_gamification-0.0.18 vs app/models/gamification/item_group.rb in go_gamification-0.0.19
- old
+ new
@@ -1,5 +1,5 @@
module Gamification
class ItemGroup < ApplicationRecord
- has_many :items,class_name: 'Gamification::Item',foreign_key: :gamification_item_type_id
+ has_many :items,class_name: 'Gamification::Item',foreign_key: :gamification_item_group_id
end
end