rails/activemodel/test/cases
William Myers 0e655873d4 DirtyModel uses a hash to keep track of any changes made to attributes
of an instance. When using the attribute_will_change! method, you must
supply a string and not a symbol or the *_changed? method will break
(because it is looking for the attribute name as a string in the keys
of the underlying hash). To remedy this, I simply made the underlying
hash a HashWithIndifferentAccess so it won't matter if you supply
the attribute name as a symbol or string to attribute_will_change!.
2013-05-27 23:41:26 -04:00
..
serializers chmod -x from non-script files 2012-12-24 23:36:19 +09:00
validations Add CHANGELOG entry for #8622 2012-12-26 19:22:38 -03:00
attribute_methods_test.rb made dynamic finders alias_attribute aware 2012-06-22 16:44:01 +02:00
callbacks_test.rb Use run_callbacks; the generated _run_<name>_callbacks method is not a public interface. 2011-01-31 19:45:53 -02:00
conversion_test.rb Fix comments about to_partial_path 2012-03-10 17:40:27 -05:00
deprecated_mass_assignment_security_test.rb attr_accessible and attr_protected raise an exception pointing to use plugin or new protection model 2012-09-16 23:58:21 -05:00
dirty_test.rb DirtyModel uses a hash to keep track of any changes made to attributes 2013-05-27 23:41:26 -04:00
errors_test.rb Actually test that ActiveModel::Errors#add defaults to :invalid. 2012-12-01 22:30:34 -02:00
forbidden_attributes_protection_test.rb Don't use assert_nothing_raised when assert_equal is used 2012-09-16 23:58:21 -05:00
helper.rb Add active_support/testing/autorun 2012-12-31 13:57:24 -03:00
lint_test.rb Trim down Active Model API by removing valid? and errors.full_messages 2012-02-07 23:10:43 +01:00
model_test.rb Add docs with usage examples for ActiveModel::Model 2012-03-03 04:45:30 -03:00
naming_test.rb Remove ActiveModel::Naming#partial_path 2012-03-10 18:02:36 -05:00
railtie_test.rb Merge pull request #8320 from senny/active_model_log_folder 2012-11-26 15:32:25 -02:00
secure_password_test.rb Use secure password min cost option in its own tests for a speed up 2012-11-21 19:34:55 -02:00
serialization_test.rb Use respond_to?(:to_ary) rather than is_a?(Enumerable) to detect collection-thing. 2012-05-11 20:11:04 +01:00
translation_test.rb Fix human attribute_name to handle deeply nested attributes 2012-05-16 08:39:48 +09:00
validations_test.rb Revert "Merge pull request #7826 from sikachu/master-validators-kind" 2012-10-02 23:57:00 -03:00