Skip to content
New issue

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

Support :uuid column type for validate_absence_of matcher #1518

Merged
merged 5 commits into from
Nov 14, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update validate_absence_of_matcher.rb
  • Loading branch information
dlupu authored Oct 17, 2022
commit 532269610c6e0d95845ba64bbc7b014a1fc1a7c9
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def value
when :datetime, :time, :timestamp then Time.current
when :date then Date.new
when :binary then '0'
when :uuid then SecureRandom.uuid
else 'an arbitrary value'
end
end
Expand Down