mirror of
https://github.com/ditkrg/validates_timeliness.git
synced 2026-01-25 07:16:41 +00:00
doc update with new feature
This commit is contained in:
parent
897a9a3bd3
commit
37bfbfe5e7
@ -24,6 +24,8 @@ think should be a valid date or time string.
|
|||||||
|
|
||||||
* Respects new timezone features of Rails 2.1.
|
* Respects new timezone features of Rails 2.1.
|
||||||
|
|
||||||
|
* Supports Rails 2.2 I18n for the error messages
|
||||||
|
|
||||||
|
|
||||||
== INSTALLATION:
|
== INSTALLATION:
|
||||||
|
|
||||||
@ -275,8 +277,8 @@ Rails 2.2+ using the I18n system to define new defaults:
|
|||||||
activerecord:
|
activerecord:
|
||||||
errors:
|
errors:
|
||||||
messages:
|
messages:
|
||||||
on_or_before: "must equal to or before {{restriction}}"
|
on_or_before: "must be equal to or before {{restriction}}"
|
||||||
on_or_after: "must equal to or after {{restriction}}"
|
on_or_after: "must be equal to or after {{restriction}}"
|
||||||
|
|
||||||
The {{restriction}} signifies where the interpolation value for the restriction
|
The {{restriction}} signifies where the interpolation value for the restriction
|
||||||
will be inserted.
|
will be inserted.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user