mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 15:22:58 +00:00
fix plugin parser timezone spec in AR
This commit is contained in:
@@ -10,6 +10,7 @@ class ActiveRecord::Base
|
||||
end
|
||||
|
||||
def timeliness_attribute_timezone_aware?(attr_name)
|
||||
attr_name = attr_name.to_s
|
||||
create_time_zone_conversion_attribute?(attr_name, columns_hash[attr_name])
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user