ruby on rails 4 - How to check the progress of the rake db:seed -
i have data in seeds.rb, populate table. inside seeds.rb file, using create! methods, when goes wrong error message. when type rake db:seed
don't confirmation saying things "data loaded success". mean, have go rails db, , check table again. fine, know if there way add success message rake db:seed.
edit db/seed.rb, add following in bottom
puts "data loaded success"
Comments
Post a Comment