for now, run seed fu automatically after migrate ... still think there should be a cleaner way

This commit is contained in:
Sam 2013-04-08 09:56:42 +10:00
parent 0c6cb2805a
commit 3d3b589b4d
2 changed files with 4 additions and 1 deletions

View file

@ -47,4 +47,3 @@ PostActionType.seed do |s|
s.is_flag = true
s.position = 7
end

4
lib/tasks/db.rake Normal file
View file

@ -0,0 +1,4 @@
# we need to run seed_fu every time we run rake db:migrate
task 'db:migrate' => 'environment' do
SeedFu.seed
end