Skip to content

Commit

Permalink
Add check for Date to #basic_attribute_type?
Browse files Browse the repository at this point in the history
This should fix #1243.
  • Loading branch information
andsip committed Oct 15, 2024
1 parent 7dcff73 commit 818e50f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,7 @@ def basic_attribute_type?(type)
type.is_a?(String) ||
type.is_a?(Numeric) ||
type.is_a?(Time) ||
type.is_a?(Date) ||
type.is_a?(TrueClass) ||
type.is_a?(FalseClass) ||
type.is_a?(NilClass)
Expand Down

0 comments on commit 818e50f

Please sign in to comment.