Hello,

I'm trying to use command rake db:migrate, but in MySQL I continuous get
an empty set and I do know why.

#/db/seeds.rb
User.create(username: "lorenz", password: "mypass", admin: true)

When I run:
rake db:seed RAILS_ENV=development --trace

I received:
** Invoke db:seed (first_time)
** Execute db:seed
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Invoke db:load_config (first_time)
** Execute db:load_config
** Execute db:abort_if_pending_migrations

and my database keep empty.

The migration is new and it works.

Thanks to all.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to