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
/
activerecord
/
test
/
cases
/
validations_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Add validation to subclass in tests to avoid polluting parent class
Chris Salzberg
2019-04-13
1
-5
/
+7
*
Add test case for ce48b5a366482d4b4c4c053e1e39e79d71987197
Ryuta Kamizono
2018-12-18
1
-0
/
+7
*
Fix numericality validator not to be affected by custom getter
Ryuta Kamizono
2018-08-13
1
-1
/
+17
*
Replace `assert !` with `assert_not`
Daniel Colson
2018-04-19
1
-2
/
+2
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-6
/
+6
*
Suppress `warning: BigDecimal.new is deprecated` in activerecord
Yasuo Honda
2017-12-13
1
-2
/
+2
*
Use frozen-string-literal in ActiveRecord
Kir Shatrov
2017-07-19
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
*
Fix regression in Numericality validator where extra decimal places on
Bradley Priest
2017-05-27
1
-0
/
+14
*
Creating a new Topic class instead of class_eval for the existing one
Yasuo Honda
2016-08-11
1
-4
/
+2
*
remove redundant curlies from hash arguments
Xavier Noria
2016-08-06
1
-1
/
+1
*
modernizes hash syntax in activerecord
Xavier Noria
2016-08-06
1
-4
/
+4
*
applies new string literal convention in activerecord/test
Xavier Noria
2016-08-06
1
-11
/
+11
*
remove args from assert_nothing_raised in tests
Tara Scherner de la Fuente
2016-02-22
1
-1
/
+1
*
`validates_acceptance_of` shouldn't require a database connection
Sean Griffin
2015-09-25
1
-0
/
+11
*
Validate multiple contexts on `valid?` and `invalid?` at once.
Dmitry Polushkin
2015-09-07
1
-0
/
+7
*
Revert "Merge pull request #21069 from dmitry/feature/validate-multiple-conte...
Rafael Mendonça França
2015-09-07
1
-7
/
+0
*
Validate multiple contexts on `valid?` and `invalid?` at once.
Dmitry Polushkin
2015-07-30
1
-0
/
+7
*
Allow a symbol to be passed to `attribute`, in place of a type object
Sean Griffin
2015-02-06
1
-1
/
+1
*
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...
Vipul A M
2015-02-03
1
-1
/
+0
*
Ensure numericality validations work with mutation
Sean Griffin
2014-12-01
1
-0
/
+13
*
Build fix when running in isolation
Arun Agrawal
2014-11-14
1
-0
/
+1
*
Add AR::Base#validate! method
Bogdan Gusiev
2014-06-23
1
-0
/
+14
*
Merge pull request #10662 from take/change-test-name-for-ActiveRecord--Valida...
Carlos Antonio da Silva
2014-05-11
1
-9
/
+9
|
\
|
*
Refactor AR's validations_test.rb
Takehiro Adachi
2013-12-03
1
-9
/
+9
*
|
ActiveRecord/ActiveModel '#validate' alias for 'valid?'
Henrik Nyh
2014-03-27
1
-0
/
+15
*
|
Prefer assert_raise instead of flunk + rescue to test for exceptions
Carlos Antonio da Silva
2013-12-19
1
-5
/
+3
|
/
*
Typo fixes [ci skip]
Akshay Vishnoi
2013-11-30
1
-1
/
+1
*
Remove mass assignment security from ActiveRecord
Guillermo Iguaran
2012-09-16
1
-6
/
+0
*
remove tests for #with_scope (it's now deprecated)
Jon Leighton
2012-04-25
1
-24
/
+0
*
Deprecate set_table_name in favour of self.table_name= or defining your own m...
Jon Leighton
2011-11-29
1
-1
/
+1
*
please use ruby -I lib:test path/to/test.rb, or export RUBY_OPT
Aaron Patterson
2011-06-06
1
-1
/
+1
*
Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...
Jon Leighton
2011-06-04
1
-1
/
+1
*
Cleanup deprecation warnings in active record
Carlos Antonio da Silva
2010-09-06
1
-43
/
+0
*
removing unused models from tests
Subba Rao Pasupuleti
2010-07-21
1
-5
/
+0
*
Validators should at model level and not at AR:Base level [Closes #4804]
Neeraj Singh
2010-06-10
1
-0
/
+10
*
Fix failing test.
José Valim
2010-05-21
1
-6
/
+6
*
Replace assert with assert_equal in some test cases
Neeraj Singh
2010-05-21
1
-2
/
+2
*
Remove undocumented save_without_validation!
Pratik Naik
2010-05-11
1
-6
/
+0
*
Make sure valid? preceives the context as in ActiveModel API (ht: Carlos Anto...
José Valim
2010-05-10
1
-0
/
+17
*
updated AR to work with the AMo model validation changes
Josh Kalderimis
2010-05-08
1
-1
/
+1
*
test_validates_acceptance_of_as_database_column fixed
Santiago Pastorino
2010-02-05
1
-3
/
+3
*
Ensure deprecated validate methods are invoked when they are private [#3214 s...
José Valim
2010-01-18
1
-1
/
+18
*
save(false) is gone, use save(:validate => false) instead.
José Valim
2010-01-17
1
-1
/
+9
*
Simplify repair_validations on AR and make it work with new callbacks.
José Valim
2010-01-01
1
-14
/
+14
*
Don't publicize with_scope for tests since it may shadow public misuse
Jeremy Kemper
2009-12-28
1
-3
/
+3
*
Move validator, human_name and human_attribute_name to ActiveModel, remove de...
José Valim
2009-10-20
1
-31
/
+0
*
Fix default_error_messages back to the original message
Akira Matsuda
2009-09-11
1
-3
/
+6
*
Changed ActiveRecord to use new callbacks and speed up observers by only noti...
José Valim
2009-09-08
1
-6
/
+3
[next]