diff options
author | Peer Allan <peer@canadadrugs.com> | 2011-02-18 20:51:56 -0600 |
---|---|---|
committer | Peer Allan <peer@canadadrugs.com> | 2011-02-18 20:51:56 -0600 |
commit | 8d96b89110d2c16d395ec3a5dc13e33be76b8e78 (patch) | |
tree | 77bc97d8d4201b776b2f6d1d810be39b27d02a41 /activemodel/lib/active_model/validations/acceptance.rb | |
parent | f41bf6938fd4aa5a83777cc767f7f32ace5f6539 (diff) | |
download | rails-8d96b89110d2c16d395ec3a5dc13e33be76b8e78.tar.gz rails-8d96b89110d2c16d395ec3a5dc13e33be76b8e78.tar.bz2 rails-8d96b89110d2c16d395ec3a5dc13e33be76b8e78.zip |
Clarification of ActiveRecord ActiveModel validation documentation
Diffstat (limited to 'activemodel/lib/active_model/validations/acceptance.rb')
-rw-r--r-- | activemodel/lib/active_model/validations/acceptance.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/acceptance.rb b/activemodel/lib/active_model/validations/acceptance.rb index a7296d8e1d..fba44defc1 100644 --- a/activemodel/lib/active_model/validations/acceptance.rb +++ b/activemodel/lib/active_model/validations/acceptance.rb @@ -38,7 +38,7 @@ module ActiveModel # * <tt>:message</tt> - A custom error message (default is: "must be # accepted"). # * <tt>:on</tt> - Specifies when this validation is active (default is - # <tt>:save</tt>, other options are <tt>:create</tt> and + # <tt>nil</tt>, other options are <tt>:create</tt> and # <tt>:update</tt>). # * <tt>:allow_nil</tt> - Skip validation if attribute is +nil+ (default # is true). |