rails/activemodel/test/cases
José Valim 7bd85a8fc2 Work around the fact the JSON gem was overwriting to_json implementation for all Ruby core classes.
This is required because the JSON gem is incompatible with Rails behavior and was not allowing ActiveModel::Errors to be serialized.
So we need to ensure Rails implementation is the one triggered. [#4890 state:resolved]
2010-06-26 12:01:13 +02:00
..
serializeration Really make include_root_in_json default to true [#3770 state:resolved] 2010-06-08 01:02:45 +02:00
validations Work around the fact the JSON gem was overwriting to_json implementation for all Ruby core classes. 2010-06-26 12:01:13 +02:00
attribute_methods_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
callbacks_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
conversion_test.rb Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not. 2010-02-21 11:12:14 +01:00
dirty_test.rb Use better assertion methods for testing 2010-05-19 10:18:36 +02:00
helper.rb should be able to run ActiveModel validations_test [#4933 state:resolved] 2010-06-22 21:38:27 +02:00
lint_test.rb Require persisted? in ActiveModel::Lint and remove new_record? and destroyed? methods. ActionPack does not care if the resource is new or if it was destroyed, it cares only if it's persisted somewhere or not. 2010-02-21 11:12:14 +01:00
naming_test.rb Revert "Refactor of active_model/naming.rb and allow collection and element to be writable" 2010-05-12 21:02:16 +02:00
observing_test.rb Fix Active Model observer tests 2010-04-16 13:14:52 -07:00
translation_test.rb Allow to specify default attributes names translation in I18n yml files. 2010-01-07 15:31:50 +01:00
validations_test.rb Work around the fact the JSON gem was overwriting to_json implementation for all Ruby core classes. 2010-06-26 12:01:13 +02:00