Wednesday, May 8, 2013

[Rails] Re: Re: Rake db:migrate

Colin Law wrote in post #1108191:
> On 8 May 2013 08:13, Lorenz Blackbird <lists@ruby-forum.com> wrote:
>>> Colin
>>
>> Console viewed the migration of all the tables. The application works
>> good and Active Record also, because I can read/write on database
>> thorugh console and application interface.
>>
>> I'm only searching a simple way to populate database when I take the
>> decision to re-generate a "clean" database.
>
> So what do you see when you run rake db:migrate? Please copy/paste
> the result. Also then please run rake db:seed and copy/paste the
> result here. Also paste the complete db/seeds.rb and anything added
> to development.log by the running of rake db:seed. Please include the
> command invocation in the pasted result.
>
> Colin

I fixed it. I forgot to have put a validation on user and that blocked
the creation.

Thank you so much Colin for time spent to me.

--
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 rubyonrails-talk+unsubscribe@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.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate