You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The text was updated successfully, but these errors were encountered: