diff options
Diffstat (limited to 'db')
-rw-r--r-- | db/fixtures/development/07_milestones.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/db/fixtures/development/07_milestones.rb b/db/fixtures/development/07_milestones.rb index 6fe7e246770..72e6b3ad3d6 100644 --- a/db/fixtures/development/07_milestones.rb +++ b/db/fixtures/development/07_milestones.rb @@ -1,3 +1,5 @@ +ActiveRecord::Base.observers.disable(:milestone_observer) + Milestone.seed(:id, [ { id: 1, project_id: 1, title: 'v' + Faker::Address.zip_code }, { id: 2, project_id: 1, title: 'v' + Faker::Address.zip_code }, @@ -16,3 +18,5 @@ Milestone.all.map do |ml| ml.set_iid ml.save end + +ActiveRecord::Base.observers.enable(:milestone_observer) |