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

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

java - Log4j2 configuration not found when running standalone application builded by shade plugin -

python - How do I create a list index that loops through integers in another list -