summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2017-01-26 21:18:33 -0700
committermo khan <mo@mokhan.ca>2017-01-26 21:18:33 -0700
commitc2b711599d782b3c906a867a96d4ee7eccf7115e (patch)
tree938ceaf0f8d2f0708511d7ac1620563a7cfa9425 /Rakefile
parentc39bc89a8b65ce06e5408e96dffa688bfd99742b (diff)
extract class to insert seed data.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index e767dae..a681d14 100644
--- a/Rakefile
+++ b/Rakefile
@@ -35,6 +35,7 @@ namespace :db do
task :seed do
require_relative 'db/seeds.rb'
+ Seeds.new(DATABASE).run
end
desc "drop, create and migrate the database"