Commit 03472b4fc02a256c90c0285765e7da82c56e93a2
Exists in
spb-stable
and in
3 other branches
Merge branch 'master' of github.com:gitlabhq/gitlabhq
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
db/fixtures/development/07_milestones.rb
1 | +ActiveRecord::Base.observers.disable(:milestone_observer) | |
2 | + | |
1 | 3 | Milestone.seed(:id, [ |
2 | 4 | { id: 1, project_id: 1, title: 'v' + Faker::Address.zip_code }, |
3 | 5 | { id: 2, project_id: 1, title: 'v' + Faker::Address.zip_code }, |
... | ... | @@ -16,3 +18,5 @@ Milestone.all.map do |ml| |
16 | 18 | ml.set_iid |
17 | 19 | ml.save |
18 | 20 | end |
21 | + | |
22 | +ActiveRecord::Base.observers.enable(:milestone_observer) | ... | ... |