diff options
Diffstat (limited to 'vendor/plugins/custom_err_msg/README')
-rw-r--r-- | vendor/plugins/custom_err_msg/README | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/vendor/plugins/custom_err_msg/README b/vendor/plugins/custom_err_msg/README deleted file mode 100644 index a0488dc7a..000000000 --- a/vendor/plugins/custom_err_msg/README +++ /dev/null @@ -1,37 +0,0 @@ -Custom Error Message
-====================
-
-This plugin gives you the option to not have your custom validation error message
-prefixed with the attribute name. Ordinarily, if you have, say:
-
- validates_acceptance_of :accepted_terms, :message => 'Please accept the terms of service'
-
-You'll get the following error message:
-
- Accepted terms Please accept the terms of service
-
-This plugin allows you to omit the attribute name for specific messages. All you have to do
-is begin the message with a '^' character. Example:
-
- validates_acceptance_of :accepted_terms, :message => '^Please accept the terms of service'
-
-
-Detail
-------
-
-Redefines the ActiveRecord::Errors::full_messages method:
- Returns all the full error messages in an array. 'Base' messages are handled as usual.
- Non-base messages are prefixed with the attribute name as usual UNLESS they begin with '^'
- in which case the attribute name is omitted.
-
-
-Download
---------
-
-http://rubyforge.org/projects/custom-error-message/
-
-
-Bugs & feedback
----------------
-
-Please send bug reports, patches and feedback to David Easley at easleydp@gmail.com
|