Skip to content

Conversation

@jordoh
Copy link

@jordoh jordoh commented Dec 19, 2012

This splits up the modules for created_at and updated_at, so you can include both - include Ohm::Timestamps - or just one or the other - include Ohm::Timestamps::Created or include Ohm::Timestamps::Updated.

This is useful when you have a (conceptually) read-only model and only want created_at, or don't require one or the other timestamp for whatever reason.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant