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
Jeremy Daer 89e2f7e722
Support for unified Integer class in Ruby 2.4+
Ruby 2.4 unifies Fixnum and Bignum into Integer: https://bugs.ruby-lang.org/issues/12005

* Forward compat with new unified Integer class in Ruby 2.4+.
* Backward compat with separate Fixnum/Bignum in Ruby 2.2 & 2.3.
* Drops needless Fixnum distinction in docs, preferring Integer.
2016-05-18 21:58:51 -07:00
..
absence.rb Use Active Model, not ActiveModel in plain English 2015-01-02 14:19:21 -08:00
acceptance.rb Chomp: prefer String#chomp where we can for a clarity boost 2016-04-29 13:43:15 -07:00
callbacks.rb - removing redundant 'happens' in documentation [ci skip] 2016-05-19 02:02:30 +05:30
clusivity.rb Use Range#cover? for Date inclusion validator 2016-03-24 11:36:07 +00:00
confirmation.rb AMo typos 2015-09-22 23:36:40 +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 fix length validation error typo 2016-04-07 15:37:17 +05:30
numericality.rb Support for unified Integer class in Ruby 2.4+ 2016-05-18 21:58:51 -07:00
presence.rb
validates.rb Freeze string literals when not mutated. 2015-07-19 17:45:10 -05:00
with.rb Move the validations HelperMethods to its own file 2015-06-21 19:56:53 -04:00