On Jan 4, 9:20 pm, Daniel Garcia <li...@ruby-forum.com> wrote:
> the only thing you can see there is:
>
> ActiveRecord::Schema.define(:version => 20101226144505) do
>
> # Could not dump table "authors" because of following Mysql2::Error
> # Invalid date: BTREE
If rails can't dump the table schema then it could conceivably by
typecasting attributes incorrectly. This could be confirmed by
comparing blah.attributes with blah.attributes_before_type_cast.
People at https://github.com/brianmario/mysql2/issues#issue/71 seem to
indicate that this could be caused by a libmysql.dll that doesn't
match the version of mysql that is installed
Fred
>
> # Could not dump table "book_loans" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "books" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "departments" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "faculties" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "roles" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "subjects" because of following Mysql2::Error
> # Invalid date: BTREE
>
> # Could not dump table "users" because of following Mysql2::Error
> # Invalid date: BTREE
>
> end
>
> --
> Posted viahttp://www.ruby-forum.com/.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment