mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 07:16:41 +00:00
tiny consistency change
This commit is contained in:
@@ -72,9 +72,8 @@ module ValidatesTimeliness
|
||||
end
|
||||
|
||||
def attribute_raw_value(record, attr_name)
|
||||
if record.respond_to?(:_timeliness_raw_value_for)
|
||||
record.respond_to?(:_timeliness_raw_value_for) &&
|
||||
record._timeliness_raw_value_for(attr_name)
|
||||
end
|
||||
end
|
||||
|
||||
def timezone_aware?(record, attr_name)
|
||||
|
||||
Reference in New Issue
Block a user