1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases
José Valim 2a25c5818b Revert "Handle enabling/disabling observers at different levels of the class hierarchy."
This reverts commit ad62f19287 because the current
subclasses implementation leaks memory in development.

Instead of keeping an array of subclasses, the better solution is to
ask the parent if an observer is being disabled or not.
2011-04-28 09:32:57 +02:00
..
mass_assignment_security Using Object#in? and Object#either? in various places 2011-04-11 03:17:09 +08:00
serializers Rename test directory to match code directory 2011-04-06 01:50:35 +08:00
validations No need to rescue here. Invoking the wrong method in an object can happen anywhere if you are not careful. In other words, test your shit. 2011-04-11 17:47:59 +02:00
attribute_methods_test.rb Do not in place modify what table_name returns 2011-03-22 19:36:16 -03: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 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 Remove or fix non-working examples and add a few tests to Dirty [#5185 state:resolved] 2010-08-03 10:47:30 +02:00
errors_test.rb implementing include? on AM::Errors 2011-02-09 09:19:56 -08:00
helper.rb do not require ruby-debug automatically. please require it if you have declared it as a dependency 2010-11-19 16:26:09 -08: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
mass_assignment_security_test.rb AM mass assignment security attr_accessible and attr_protected now allow for scopes using :as => scope eg. 2011-04-24 09:53:18 +02:00
naming_test.rb Test to_model being called in ActiveModel::Naming helpers 2010-10-04 21:26:42 +02:00
observer_array_test.rb Revert "Handle enabling/disabling observers at different levels of the class hierarchy." 2011-04-28 09:32:57 +02:00
observing_test.rb Allow observers to be enabled and disabled. 2011-04-28 10:23:49 +08:00
secure_password_test.rb AM mass assignment security attr_accessible and attr_protected now allow for scopes using :as => scope eg. 2011-04-24 09:53:18 +02:00
serialization_test.rb adding new test for ActiveModel::Serialization 2010-08-31 17:45:03 +02:00
translation_test.rb failing test for i18n key collision with namespaced models 2011-02-27 21:23:52 -02:00
validations_test.rb Find all validators for multiple attributes 2011-02-05 20:27:02 -08:00