minimapper icon indicating copy to clipboard operation
minimapper copied to clipboard

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

Open henrik opened this issue 11 years ago • 0 comments

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.

henrik avatar May 23 '13 09:05 henrik