On 7 May 2013 11:18, Lorenz Blackbird <li...@ruby-forum.com> wrote:
> 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.

What do you see if you run
rake db:migrate

Colin

-- 
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 rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to