FIX: allow position to be changed post seed

This commit is contained in:
Sam
2014-07-27 11:33:33 +10:00
parent 782773f774
commit 0ab456b647
2 changed files with 9 additions and 5 deletions

View File

@@ -7,6 +7,10 @@ class BadgeGrouping < ActiveRecord::Base
Other = 5
has_many :badges
def default_position=(pos)
position ||= pos
end
end
# == Schema Information