diff options
author | Jimmy Bourassa <jimmy.bourassa@hooktstudios.com> | 2017-08-24 01:13:54 -0400 |
---|---|---|
committer | Jimmy Bourassa <jimmy.bourassa@hooktstudios.com> | 2017-08-29 09:42:28 -0400 |
commit | fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950 (patch) | |
tree | cc7db1c38e4dc64c437b1be50d49192af826cfed /activemodel/lib/active_model/validations | |
parent | 9a66a22102db76896f400939165ec92280e092e7 (diff) | |
download | rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.tar.gz rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.tar.bz2 rails-fbb2fc8aa7d17fd86ad9c3fbbe60ef84a4cde950.zip |
Fix AM::Base.default proc arity breaking change
PR #29270 changed the number of arguments that gets passed to Procs
defined in ActionMail::Base.default. With this changeset, Procs can
now have 1 or 0 arguments
Also adds test coverage for AM::Base.default Proc arity.
Diffstat (limited to 'activemodel/lib/active_model/validations')
0 files changed, 0 insertions, 0 deletions