Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

Confusing that column_names for the entity includes id, created_at and updated_at #6

Open
henrik opened this issue May 23, 2013 · 0 comments

Comments

@henrik
Copy link
Collaborator

henrik commented May 23, 2013

The timestamp columns aren't guaranteed to exist in an ActiveRecord class. Maybe we could have a method called something like timestamp_attributes that adds those attributes. Cf. t.timestamps in migrations.

As to the id column, we could probably just make this an explicit (in the README) requirement until it becomes a problem: your records are assumed to have an "id" primary key column.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant