1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/lib/active_model
Rafael Mendonça França 78fd14c8de Revert the change at ActiveModel::Errors#add_on_blank and fix in the
right place.

The EachValidator#validate already handle :allow_blank and :allow_nil,
correctly.

Closes #8622.

Fix #8621.
2012-12-26 18:55:47 -03:00
..
locale Use :present as key for the absence validatior message 2012-12-21 17:10:16 -03:00
serializers chmod -x from non-script files 2012-12-24 23:36:19 +09:00
validations Revert the change at ActiveModel::Errors#add_on_blank and fix in the 2012-12-26 18:55:47 -03:00
attribute_methods.rb Replace some global Hash usages with the new thread safe cache. 2012-12-14 12:18:47 +01:00
callbacks.rb cleanup, removed dispensable require statements from ActiveModel 2012-11-25 17:08:57 +01:00
conversion.rb cleanup, removed dispensable require statements from ActiveModel 2012-11-25 17:08:57 +01:00
deprecated_mass_assignment_security.rb Point user to strong_parameters as the new protection model [ci skip] 2012-11-18 15:40:41 +02:00
dirty.rb Reset attributes should not report changes. 2012-12-01 16:58:09 -02:00
errors.rb Revert the change at ActiveModel::Errors#add_on_blank and fix in the 2012-12-26 18:55:47 -03:00
forbidden_attributes_protection.rb rm dead code 2012-11-09 10:31:23 +09:00
lint.rb minor edits in AM documentation [ci skip] 2012-10-21 01:26:01 -05:00
model.rb minor edits in AM documentation [ci skip] 2012-10-21 01:26:01 -05:00
naming.rb cleanup, removed dispensable require statements from ActiveModel 2012-11-25 17:08:57 +01:00
railtie.rb Use BCrypt's MIN_COST in the test environment for speedier tests 2012-11-14 09:42:54 -06:00
secure_password.rb Initialize #min_cost to avoid warning in Ruby 2.0 2012-11-17 18:40:01 -02:00
serialization.rb Replace comments' non-breaking spaces with spaces 2012-12-04 22:11:54 -08:00
test_case.rb Remove dead code from AMo. 2011-12-20 18:38:20 +01:00
translation.rb minor edits in AM documentation [ci skip] 2012-10-21 01:26:01 -05:00
validations.rb cleanup, removed dispensable require statements from ActiveModel 2012-11-25 17:08:57 +01:00
validator.rb Remove ActiveModel::Errors#add_on_present method. 2012-12-21 17:06:18 -03:00
version.rb rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+ 2011-12-20 09:30:37 -06:00