Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Does not load object primary key in Rails 4 with postgres #38

@zinkkrysty

Description

@zinkkrysty

In database setups where the primary key is set to auto_increment, it excludes the id when loading the object into the database.

INSERT INTO "items" ("field_1", "field_2", "field_3") VALUES ($1, $2, $3) 

but no trace of id (item's primary key)

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