diff options
Diffstat (limited to 'app/models/badges/group_badge.rb')
-rw-r--r-- | app/models/badges/group_badge.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/badges/group_badge.rb b/app/models/badges/group_badge.rb index f74c9f89e9f..2ef8a3bd821 100644 --- a/app/models/badges/group_badge.rb +++ b/app/models/badges/group_badge.rb @@ -3,6 +3,8 @@ class GroupBadge < Badge include EachBatch + self.allow_legacy_sti_class = true + belongs_to :group validates :group, presence: true |