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_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Move the `validate!` method to `ActiveModel::Validations`.
Lucas Mazza
2015-02-20
1
-0
/
+19
*
Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...
Vipul A M
2015-02-03
1
-1
/
+0
*
- Fixed unused variable
Vipul A M
2014-12-21
1
-3
/
+2
*
Pass through the `prepend` option to `AS::Callback`
Godfrey Chan
2014-12-12
1
-1
/
+37
*
Pass symbol as an argument instead of a block
Erik Michaels-Ober
2014-11-29
1
-1
/
+1
*
Added test for exception message for validate method
Prathamesh Sonpatki
2014-09-23
1
-1
/
+3
*
[ci skip] make assert messages consistent
ankit1910
2014-08-25
1
-2
/
+2
*
Merge pull request #15959 from aditya-kapoor/remove-unneeded-cases
Rafael Mendonça França
2014-07-29
1
-13
/
+17
|
\
|
*
remove unneeded test model for ActiveModel test cases.
Aditya Kapoor
2014-06-28
1
-13
/
+17
*
|
Merge pull request #16210 from sonnym/assert_valid_keys_in_validate
Matthew Draper
2014-07-18
1
-0
/
+7
|
\
\
|
|
/
|
/
|
|
*
check for valid options in validate method
sonnym
2014-07-17
1
-0
/
+6
|
/
*
remove depricated Validatior#setup
Kuldeep Aggarwal
2014-06-10
1
-21
/
+0
*
ActiveRecord/ActiveModel '#validate' alias for 'valid?'
Henrik Nyh
2014-03-27
1
-0
/
+9
*
Completely remove potential global state leaks in ActiveModel tests.
Zuhao Wan
2014-03-11
1
-0
/
+2
*
Fix some validators when used on model instance
Eric Hutzelman
2014-02-26
1
-1
/
+2
*
Use the new clear_validators! api to reset validators in tests
Carlos Antonio da Silva
2014-01-27
1
-8
/
+1
*
deprecate Validator#setup (to get rid of a respond_to call). validators do th...
Nick Sutterer
2013-05-23
1
-0
/
+21
*
callbacks are wrapped with lambdas
Aaron Patterson
2013-05-10
1
-1
/
+1
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-23
/
+23
*
fix some typos found in activemodel
Vipul A M
2013-03-18
1
-2
/
+2
*
Small typos here and there.
Vipul A M
2013-03-15
1
-2
/
+2
*
Revert "Merge pull request #7826 from sikachu/master-validators-kind"
Rafael Mendonça França
2012-10-02
1
-8
/
+0
*
Make `.validators_on` accept `:kind` option
Prem Sichanugrist
2012-10-02
1
-0
/
+8
*
AM::Validation#validates: ability to pass custom exception to `:strict` option
Bogdan Gusiev
2012-08-06
1
-0
/
+9
*
Don't enable validations when passing false hash values to ActiveModel.validates
Steve Purcell
2012-05-28
1
-0
/
+5
*
Kill whitespaces :scissors:
Carlos Antonio da Silva
2012-05-15
1
-1
/
+1
*
clean the erros if an object that includes validations errors is duped. Fixes...
Angelo Capilleri
2012-05-13
1
-0
/
+15
*
replacing ordered hash to ruby hash
prasath
2012-02-08
1
-1
/
+1
*
Generate strict validation error messages with attribute name
Carlos Antonio da Silva
2012-02-01
1
-3
/
+12
*
Removed unwanted intializer and replaced with ruby default collect method
prasath
2012-01-27
1
-2
/
+1
*
validates method should not change options argument
dreamfall
2012-01-17
1
-0
/
+6
*
Implemented strict validation concept
Bogdan Gusiev
2011-08-17
1
-0
/
+33
*
:if should not fire on validations when not in context with :on
Aditya Sanghi
2011-04-29
1
-0
/
+14
*
Find all validators for multiple attributes
Carl Lerche
2011-02-05
1
-0
/
+18
*
Tests and docs which explain the use of validate with a block and without arg...
Santiago Pastorino
2010-12-19
1
-1
/
+9
*
ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json ser...
Thilo Utke
2010-12-01
1
-2
/
+2
*
Remove deprecations in ActiveModel.
José Valim
2010-08-29
1
-36
/
+0
*
after_validation should be called irrespective of the result of validation.
Neeraj Singh
2010-08-20
1
-0
/
+2
*
Deletes trailing whitespaces (over text files only find * -type f -exec sed '...
Santiago Pastorino
2010-08-14
1
-1
/
+1
*
ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 state:reso...
Alex Le
2010-08-02
1
-3
/
+5
*
Work around the fact the JSON gem was overwriting to_json implementation for ...
José Valim
2010-06-26
1
-6
/
+15
*
Regression with how base errors messages are added to a model. Works correctl...
Josh Kalderimis
2010-06-23
1
-3
/
+18
*
Make use of assert_equal to test equallity between object assert expects and ...
Santiago Pastorino
2010-05-16
1
-1
/
+1
*
validation macros can now be used within an instance
Josh Kalderimis
2010-05-13
1
-0
/
+13
*
removed AR from all AMo tests, including any unneeded files (schema, fixtures...
Josh Kalderimis
2010-05-09
1
-11
/
+9
*
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
-32
/
+34
*
Re-define empty? for errors to check if the values inside the OrderedHash are...
Ryan Bigg
2010-04-10
1
-0
/
+6
*
Add validators reflection so you can do 'Person.validators' and 'Person.valid...
Prem Sichanugrist
2010-02-21
1
-0
/
+27
*
Adding Proc support to validation messages so that they can become a little m...
Samuel Elliott
2010-01-17
1
-0
/
+8
[next]