Skip to content
This repository was archived by the owner on Oct 18, 2019. It is now read-only.
This repository was archived by the owner on Oct 18, 2019. It is now read-only.

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

@googya

Description

@googya

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions