mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-22 22:06:45 +00:00
shorthand defaults in generator coments
This commit is contained in:
parent
b0ebd5bfda
commit
53f3d876ea
@ -15,5 +15,8 @@ ValidatesTimeliness.setup do |config|
|
||||
# config.enable_multiparameter_extension!
|
||||
#
|
||||
# Shorthand date and time symbols for restrictions
|
||||
# config.restriction_shorthand_symbols.update()
|
||||
# config.restriction_shorthand_symbols.update(
|
||||
# :now => lambda { Time.now },
|
||||
# :today => lambda { Date.today }
|
||||
# )
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user