We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I serialize the time field using https://github.com/jackc/tod, I get "not a valid time" error from validates_timeliness.
# my_model.rb class MyModel < ApplicationRecord validates_time :closes_at, after: :opens_at serialize :opens_at, Tod::TimeOfDay serialize :closes_at, Tod::TimeOfDay end
MyModel.where(opens_at: "10:30", closes_at: "14:30").first_or_create # Closes at is not a valid time
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I serialize the time field using https://github.com/jackc/tod, I get "not a valid time" error from validates_timeliness.
The text was updated successfully, but these errors were encountered: