enginex icon indicating copy to clipboard operation
enginex copied to clipboard

BSON::InvalidDocument: Cannot serialize an object of class ActiveRecord::ConnectionAdapters::SQLite

Open googya opened this issue 12 years ago • 0 comments

BSON::InvalidDocument: Cannot serialize an object of class ActiveRecord::ConnectionAdapters::SQLiteC│~
olumn into BSON.: INSERT INTO "users" ("age", "created_at", "name", "updated_at") VALUES (?, ?, ?, ?

In the chapter about "Storing notifications in the Database", I met a error given above.

no working of enginex under rails 3.2, so I use

  • rails plugin new SqlMetrics, all tests are passed, and
  • when executing "bundle exec rails generate scaffold User name:string age:integer" under test/dummy ,
  • creating a user object and save it ,
  • then the error is thrown.

googya avatar Mar 24 '13 09:03 googya