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
/
errors_test.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Move the `ActiveModel:Errors#full_message` method to the `Error` class:
Edouard CHIN
2019-07-16
1
-0
/
+21
*
Merge pull request #36654 from Edouard-chin/ec-errors-delete
Rafael França
2019-07-15
1
-0
/
+6
|
\
|
*
Returns `nil` when `AM::Errors#delete` doesn't delete anything:
Edouard CHIN
2019-07-11
1
-0
/
+6
*
|
Fix `AM::Errors.added?` trying to generate a message:
Edouard CHIN
2019-07-10
1
-0
/
+22
|
/
*
any? should be delegated to the errors list
Aaron Patterson
2019-04-30
1
-0
/
+11
*
Spec for display original raw type in details
lulalala
2019-03-31
1
-0
/
+18
*
Set default array to details
lulalala
2019-03-31
1
-0
/
+6
*
Fix messages[]= does not override value
lulalala
2019-03-31
1
-0
/
+8
*
Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`
lulalala
2019-03-31
1
-6
/
+54
*
Add deprecation to slice!
lulalala
2019-03-31
1
-5
/
+3
*
Add a transitional method `objects`, for accessing the array directly.
lulalala
2019-03-31
1
-6
/
+6
*
Add convenience method group_by_attribute
lulalala
2019-03-31
1
-0
/
+8
*
Change errors
lulalala
2019-03-31
1
-49
/
+173
*
Add `ActiveModel::Errors#of_kind?`
bogdanvlviv
2019-01-04
1
-1
/
+79
*
Add slice! method to ActiveModel::Errors
Daniel Lopez Prat
2018-11-21
1
-0
/
+24
*
Fix ignored options in the `#added?` method
Ronan Limon Duparcmeur
2018-11-13
1
-0
/
+10
*
Ensure attribute is a symbol in the added? method
Jeremy Baker
2018-07-14
1
-0
/
+6
*
Replace `assert !` with `assert_not`
Daniel Colson
2018-04-19
1
-4
/
+4
*
Remove usage of strip_heredoc in the framework in favor of <<~
Rafael Mendonça França
2018-02-16
1
-2
/
+1
*
Use assert_empty and assert_not_empty
Daniel Colson
2018-01-25
1
-3
/
+3
*
Use assert_predicate and assert_not_predicate
Daniel Colson
2018-01-25
1
-4
/
+4
*
Use respond_to test helpers
Daniel Colson
2018-01-25
1
-1
/
+1
*
fix bug on added? method
Alessandro Rodi
2017-11-13
1
-0
/
+7
*
Use frozen string literal in activemodel/
Kir Shatrov
2017-07-16
1
-0
/
+2
*
Add ActiveModel::Errors#merge!
Jahfer Husain
2017-07-07
1
-0
/
+12
*
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 ActiveModel::Errors #keys, #values
bogdanvlviv
2017-03-28
1
-0
/
+16
*
Missing require for strip_heredoc
Akira Matsuda
2017-01-17
1
-0
/
+1
*
Missing require "yaml"
Akira Matsuda
2016-12-12
1
-0
/
+1
*
Make ActiveModel::Errors backward compatible with 4.2
Rafael Mendonça França
2016-12-08
1
-0
/
+20
*
Allow indifferent access in ActiveModel::Errors
Kenichi Kamiya
2016-11-22
1
-3
/
+8
*
Removed deprecated methods in ActiveModel::Errors
Rafael Mendonça França
2016-10-10
1
-92
/
+0
*
Do not leak the Errors default proc when calling to_hash or as_json
Jean Boussier
2016-09-27
1
-0
/
+10
*
improve error message when include assertions fail
Michael Grosser
2016-09-16
1
-2
/
+2
*
applies new string literal convention in activemodel/test
Xavier Noria
2016-08-06
1
-17
/
+17
*
Add test to better demonstrate `ActiveModel::Errors#added?` behavior
Jon Moss
2016-06-21
1
-0
/
+6
*
Ensure that instances of `ActiveModel::Errors` can be marshalled
Sean Griffin
2016-05-30
1
-0
/
+9
*
Followup of #18322
Vipul A M
2016-05-02
1
-1
/
+1
*
Do not create a hash key when calling ActiveModel::Errors#include?
Esteban Pastorino
2016-03-24
1
-0
/
+7
*
`ActiveRecord::Base#becomes` should copy the errors
Vokhmin Alexey V
2015-12-14
1
-0
/
+10
*
Use private method call assertions in Active Model tests.
Kasper Timm Hansen
2015-07-10
1
-24
/
+9
*
Remove use of mocha from Active Model
Roque Pinel
2015-05-28
1
-23
/
+45
*
Adds/Corrects use case for adding an error message
Zamith
2015-05-04
1
-0
/
+6
*
Merge pull request #19021 from morgoth/activemodel-errors-refactoring
Rafael Mendonça França
2015-03-30
1
-0
/
+6
|
\
|
*
Simplify and alias ActiveModel::Errors methods where possible
Wojciech Wnętrzak
2015-02-20
1
-0
/
+6
*
|
Fix arguments order on assertion
Carlos Antonio da Silva
2015-03-22
1
-1
/
+1
*
|
Fix ActiveModel::Errors#delete return value to stay backward compatible
Radan Skoric
2015-03-22
1
-0
/
+6
|
/
*
Deprecate `ActiveModel::Errors` `add_on_empty` and `add_on_blank` methods
Wojciech Wnętrzak
2015-02-19
1
-7
/
+21
*
Deprecate `ActiveModel::Errors` `get`, `set` and `[]=` methods.
Wojciech Wnętrzak
2015-02-01
1
-15
/
+21
[next]