Changeset 9227
- Timestamp:
- 04/05/08 11:18:05 (8 months ago)
- Files:
-
- trunk/activemodel/lib/active_model/validations/exclusion.rb (modified) (1 diff)
- trunk/activemodel/lib/active_model/validations/inclusion.rb (modified) (1 diff)
- trunk/activeresource/CHANGELOG (modified) (1 diff)
- trunk/activesupport/CHANGELOG (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activemodel/lib/active_model/validations/exclusion.rb
r9173 r9227 12 12 # Configuration options: 13 13 # * <tt>in</tt> - An enumerable object of items that the value shouldn't be part of 14 # * <tt>message</tt> - Specifies a custom ererror message (default is: "is reserved")14 # * <tt>message</tt> - Specifies a custom error message (default is: "is reserved") 15 15 # * <tt>allow_nil</tt> - If set to true, skips this validation if the attribute is null (default is: false) 16 16 # * <tt>allow_blank</tt> - If set to true, skips this validation if the attribute is blank (default is: false) trunk/activemodel/lib/active_model/validations/inclusion.rb
r9173 r9227 12 12 # Configuration options: 13 13 # * <tt>in</tt> - An enumerable object of available items 14 # * <tt>message</tt> - Specifies a custom ererror message (default is: "is not included in the list")14 # * <tt>message</tt> - Specifies a custom error message (default is: "is not included in the list") 15 15 # * <tt>allow_nil</tt> - If set to true, skips this validation if the attribute is null (default is: false) 16 16 # * <tt>allow_blank</tt> - If set to true, skips this validation if the attribute is blank (default is: false) trunk/activeresource/CHANGELOG
r9226 r9227 1 1 *SVN* 2 3 * Improve documentation. [Xavier Noria]4 2 5 3 * Fixed that to_param should be used and honored instead of hardcoding the id #11406 [gspiers] trunk/activesupport/CHANGELOG
r9225 r9227 1 1 *SVN* 2 3 * Improve documentation. [Xavier Noria] 2 4 3 5 * Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments.