Skip to content
Discussion options

You must be logged in to vote

Hey! 👋

Manually specifying IDs is something that is not supported at the moment (we can consider adding support for this, though!).

The created_at attribute is usually intended to be populated automatically, and as such, it's not possible to manually specify it. That said you can still update the created_at value by manually updating the record if necessary:

user.update!(created_at: 30.days.ago)

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ellmetha
Comment options

@miry
Comment options

Answer selected by miry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants