On 3 April 2011 07:42, Kaushik Kumar <[email protected]> wrote:
> Hey Colin,

Could you not top post please, it makes it difficult to follow the
thread.  Insert your reply at appropriate points in previous message.
Thanks.

> the problem that i am facing is that, after i have created the entire
> database and the migration, i use the rake db:schema:dump command.
> After using the rake command, the database should be visible in schema.rb as
> i see in the tutorials. But i am unable to do that.
> like if my database has columns like name,age,address.
> Then it should show in the schema.rb file.
> Instead, it shows the error as below :
>  Could not dump table "kusers" because of following ArgumentError
>    invalid date

The error suggests that you have a date/time field with an invalid
value;, but why it should notice that when you are dumping the schema
I do not know.

Can you post the complete output of the rake command please.  Run it
in the console then copy and paste the compete text (including the
command you entered) into the message.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to