1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model/validations
Robin Dupret bc71e43252 Separate the constraint and other options [ci skip]
Only one constraint option can be used at a time (except for the minimum
and maximum ones that can eventually be combined). However, other
options can be used with them (e.g. the validation failure message).
So let's make the distinction between these two different options
categories.

[Yves Senn, Matthew Draper & Robin Dupret]
2015-07-01 16:20:07 +02:00
..
absence.rb Use Active Model, not ActiveModel in plain English 2015-01-02 14:19:21 -08:00
acceptance.rb Improve Validation Helpers' documentation comments and tests 2015-06-27 16:34:16 +02:00
callbacks.rb Revert "Reduce allocations when running AR callbacks." 2015-03-22 11:21:02 +08:00
clusivity.rb Remove short circuit return in favor of simple conditional 2013-11-15 01:11:57 -02:00
confirmation.rb Update documentation to match change in #5942 [ci skip] 2014-08-24 00:04:07 +09:00
exclusion.rb Improve Validation Helpers' documentation comments and tests 2015-06-27 16:34:16 +02:00
format.rb Merge pull request #17144 from skojin/patch-doc-validation-format-z-regexp 2015-02-20 14:30:47 -02:00
helper_methods.rb Add nodoc to the Validations::Helpers [ci skip] 2015-06-22 20:06:42 +03:00
inclusion.rb Improve Validation Helpers' documentation comments and tests 2015-06-27 16:34:16 +02:00
length.rb Separate the constraint and other options [ci skip] 2015-07-01 16:20:07 +02:00
numericality.rb Ensure numericality validations work with mutation 2014-12-01 05:31:44 -07:00
presence.rb revises references to :allow_(nil|blank) in some docs [ci skip] [Steven Yang & Xavier Noria] 2014-01-26 20:50:18 +01:00
validates.rb Add a note on custom validation contexts. 2014-08-05 13:13:40 -07:00
with.rb Move the validations HelperMethods to its own file 2015-06-21 19:56:53 -04:00