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
*
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
*
Fixed duplicating ActiveModel::Errors#details
Wojciech Wnętrzak
2015-01-24
1
-1
/
+1
*
Add ActiveModel::Errors#details
Wojciech Wnętrzak
2015-01-20
1
-0
/
+42
*
Add #key? to ActiveModel::Errors
Garry Shutler
2014-10-14
1
-0
/
+11
*
Tests for indifferent access using full_messages_for. Closes #11916
Pavel Penkov
2014-03-08
1
-0
/
+7
*
Update ActiveModel::Errors.has_key? test
Adrien Coquio
2014-01-22
1
-1
/
+1
*
Add failing test for ActiveModel::Errors#has_key? method
Adrien Coquio
2014-01-22
1
-0
/
+5
*
Change all "can not"s to the correct "cannot".
T.J. Schuck
2014-01-03
1
-33
/
+33
*
Convert ActiveModel to 1.9 hash syntax.
Patrick Robertson
2013-05-01
1
-4
/
+4
*
Review some tests from AMo::Errors to remove "should" usage
Carlos Antonio da Silva
2013-03-30
1
-55
/
+35
*
Merge pull request #8527 from shockone/patch-1
Rafael Mendonça França
2013-03-25
1
-0
/
+20
|
\
|
*
Add a method full_messages_for to the Errors class
shock_one
2013-03-24
1
-0
/
+20
*
|
Add Error#full_message test; Fix typos
Vipul A M
2013-03-22
1
-0
/
+1
|
/
*
added more accurate test for add_on_empty
Angelo capilleri
2013-02-19
1
-0
/
+7
*
Covering untested methods for ActiveModel::Errors
Attila Domokos
2013-01-10
1
-0
/
+53
*
Actually test that ActiveModel::Errors#add defaults to :invalid.
Renato Mascarenhas
2012-12-01
1
-1
/
+1
*
Call `full_messages` instead of `to_a` in its spec.
Renato Mascarenhas
2012-12-01
1
-2
/
+1
[next]