aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/length_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Module#{define_method,alias_method,undef_method,remove_method} become public ...Ryuta Kamizono2018-12-211-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-98/+98
* Allow passing a Proc or Symbol as an argument to length validator valuesMatt Rohrer2017-10-261-0/+31
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-13/+13
* Removed deprecated :tokenizer in the length validatorRafael Mendonça França2016-10-101-36/+0
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-9/+9
* Support for unified Integer class in Ruby 2.4+Jeremy Daer2016-05-181-1/+1
* Deprecate the `:tokenizer` option to `validates_length_of`Sean Griffin2015-03-291-4/+16
* Merge pull request #16381 from kakipo/validate-length-tokenizerRafael Mendonça França2015-02-131-0/+13
|\
| * Allow symbol as values for `tokenize` of `LengthValidator`kakipo2014-08-031-0/+13
* | Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
|/
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-2/+2
* Take care of whitespaces and changing the hash syntaxRafael Mendonça França2013-02-041-57/+56
* test for issue 8931David2013-02-021-0/+8
* Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-0/+39
* To infinity… and beyond!Niels Ganser2012-02-061-0/+18
* Remove dead code from AMo.José Valim2011-12-201-47/+37
* Follow code conventions on some testsSebastian Martinez2011-05-101-15/+15
* Refactor length validationSantiago Pastorino2011-03-121-3/+3
* length validation for fixnumsAndriy Tyurnikov2011-03-121-0/+11
* Failing test for validates_length_of, when both too_short and too_long messag...rohit2010-08-031-0/+14
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-2/+0
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-091-1/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-081-140/+53
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-12/+12
* Compile length validator options still at the class level, so whenever the va...José Valim2010-01-081-4/+2
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-41/+12
* Fix exclusive range patch to use begin/end instead of min/max. [#2981 status:...Adam Keys2009-08-081-0/+14
* Simplyfy validates_length_of and remove putsPratik Naik2009-08-081-1/+0
* validates_length_of with maximum should allow nil [#2309 status:resolved]jzw2009-08-081-3/+7
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+17
* Add I18n translations to ActiveModel and move more AR specific parts to Activ...Pratik Naik2009-03-201-11/+0
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-26/+26
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+443