index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activemodel
/
test
/
cases
/
validations
/
inclusion_validation_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-44
/
+44
*
Use frozen string literal in activemodel/
Kir Shatrov
2017-07-16
1
-0
/
+2
*
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
Matthew Draper
2017-07-02
1
-1
/
+0
*
Enforce frozen string in Rubocop
Kir Shatrov
2017-07-01
1
-0
/
+1
*
Add three new rubocop rules
Rafael Mendonça França
2016-08-16
1
-1
/
+1
*
applies remaining conventions across the project
Xavier Noria
2016-08-06
1
-1
/
+0
*
applies new string literal convention in activemodel/test
Xavier Noria
2016-08-06
1
-22
/
+22
*
Add edge cases to Time/Date/DateTime inclusion validation tests
ojab
2016-03-24
1
-3
/
+17
*
remove args from assert_nothing_raised in tests
Tara Scherner de la Fuente
2016-02-22
1
-3
/
+3
*
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...
Vipul A M
2015-02-03
1
-1
/
+0
*
Use the new clear_validators! api to reset validators in tests
Carlos Antonio da Silva
2014-01-27
1
-3
/
+3
*
Let validates_inclusion_of accept Time and DateTime ranges
Akira Matsuda
2013-10-23
1
-0
/
+22
*
Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...
Charles Bergeron
2013-05-27
1
-0
/
+1
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-13
/
+13
*
Fix method redefined warnings.
kennyj
2012-08-29
1
-0
/
+3
*
Accept a symbol for `:in` option on inclusion and exclusion validators
Gabriel Sobrinho
2012-08-24
1
-0
/
+22
*
`validates_inclusion_of` and `validates_exclusion_of` now accept
Rafael Mendonça França
2012-07-20
1
-0
/
+10
*
Update variable's name in the test case to reflect the class we're testing
Prem Sichanugrist
2011-11-18
1
-6
/
+6
*
Follow code conventions on some tests
Sebastian Martinez
2011-05-10
1
-1
/
+1
*
No need to rescue here. Invoking the wrong method in an object can happen any...
José Valim
2011-04-11
1
-9
/
+0
*
Revert "Add :use_include option to allow user to explicitly use `Range#includ...
José Valim
2011-04-11
1
-9
/
+0
*
Add :use_include option to allow user to explicitly use `Range#include?` meth...
Prem Sichanugrist
2011-04-10
1
-0
/
+9
*
Add support for proc or lambda as an option for InclusionValidator, Exclusion...
Prem Sichanugrist
2011-04-10
1
-0
/
+21
*
Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 state:...
Frederick Cheung
2011-02-18
1
-0
/
+9
*
removed AR from all AMo tests, including any unneeded files (schema, fixtures...
Josh Kalderimis
2010-05-09
1
-2
/
+0
*
removed an old unused model in the AMo tests which also removes another AR de...
Josh Kalderimis
2010-05-09
1
-1
/
+0
*
removed use of AR in AMo tests and removed testing of scopes (:on) in individ...
Josh Kalderimis
2010-05-08
1
-11
/
+11
*
Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...
Lawrence Pit
2010-05-03
1
-1
/
+1
*
No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...
José Valim
2009-12-23
1
-21
/
+12
*
Add ActiveModel::Validations tests for regular ruby classes
Pratik Naik
2009-03-20
1
-0
/
+17
*
Deprecate Error#on(attribute) in favour of Errors#[attribute]
Pratik Naik
2009-03-20
1
-4
/
+4
*
TestDatabase -> TestsDatabase
Pratik Naik
2009-03-20
1
-2
/
+2
*
Move relevant validation tests from Active Record to Active Model
Pratik Naik
2009-03-20
1
-0
/
+63