rails/activemodel/test/cases
Yves Senn e5429b789d Specify the name to be used for ActiveModel::Name fixes #1168
This patch allows to specify the name of your models independent of the class name.
2011-05-20 16:59:09 +02:00
..
mass_assignment_security Using Object#in? and Object#either? in various places 2011-04-11 03:17:09 +08:00
serializers Attributes with :string type should not be given the type passed in model serialization options. Closes #1058 2011-05-18 15:52:55 -04:00
validations Follow code conventions on some tests 2011-05-10 20:58:36 -03: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 renamed mass-assignment scopes to roles, updated code, tests, docs and security guide 2011-05-08 16:43:29 +02:00
naming_test.rb Specify the name to be used for ActiveModel::Name fixes #1168 2011-05-20 16:59:09 +02:00
observer_array_test.rb Add additional tests for AM::ObserverArray that I had missed yesterday. 2011-04-28 08:32:22 -07: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 :if should not fire on validations when not in context with :on 2011-04-29 02:54:37 +05:30