Change have_db_column to have_timestamps. #184

Closed
drapergeek opened this Issue Nov 2, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

drapergeek commented Nov 2, 2012

Need to deprecate the original method and add the ability to check the timestamp columns.

Contributor

gabebw commented Nov 13, 2012

We should check that the timestamps are NOT NULL as well, maybe with .null(false).

Old versions of Rails didn't set NOT NULL on the columns, but newer versions of Rails thankfully do.

Owner

drapergeek commented Oct 25, 2013

I don't want to deprecate these methods but I would love to see the have_timestamps method added.

@drapergeek drapergeek closed this Oct 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment