Hey Colin,
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

is there some kind of date validation that i am supposed to do ?
if so, i am unaware of it. Can u guide me ?

On Sat, Apr 2, 2011 at 6:28 PM, Colin Law <[email protected]> wrote:

> On 2 April 2011 06:53, kaushikxkcd <[email protected]> wrote:
> > I have created the whole database and now also created a migration
> > named "kmigrate"
> > when i use the " rake db:schema:dump " command it doesnt pop up an
> > error but when i log onto
> > schema.rb file then it pops up this error :
>
> What do you mean log onto the file?  What exactly are you doing to get
> the error?
>
> Colin
>
> >
> >
> > ActiveRecord::Schema.define(:version => 20110402024216) do
> >
> > # Could not dump table "kusers" because of following ArgumentError
> > #   invalid date
> >
> > end
> >
> > can somebody please help ?
> >
> > --
> > 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.
> >
> >
>
> --
> 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.
>
>

-- 
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