mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-23 14:27:52 +00:00
minor hash key change
This commit is contained in:
parent
685b0054fe
commit
8b6d6ec789
@ -60,7 +60,7 @@ module ValidatesTimeliness
|
||||
|
||||
next if (raw_value.nil? && allow_nil) || (raw_value.blank? && allow_blank)
|
||||
|
||||
record.errors.add(attr_name, configuration["blank_message".to_sym]) and next if raw_value.blank?
|
||||
record.errors.add(attr_name, configuration[:blank_message]) and next if raw_value.blank?
|
||||
|
||||
column = record.column_for_attribute(attr_name)
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user