aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/naming_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Rename new method to_path to to_partial_path to avoid conflicts with ↵José Valim2011-08-011-4/+4
| | | | File#to_path and similar.
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-4/+12
| | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* Specify the name to be used for ActiveModel::Name fixes #1168Yves Senn2011-05-201-1/+38
| | | | This patch allows to specify the name of your models independent of the class name.
* Test to_model being called in ActiveModel::Naming helpersErnie Miller2010-10-041-0/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Don't act destructively on ActiveModel::Name#human options hash. [#5366 ↵John Firebaugh2010-09-251-0/+4
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Prepared ActiveModel::Naming to handle cases for namespaced isolated enginesPiotr Sarnacki2010-09-031-0/+99
|
* Reuse already existing classes for ActiveModel tests.José Valim2010-07-211-0/+39
|
* Small clean up in Naming and TTranslation tests.José Valim2009-12-231-1/+2
|
* Move validator, human_name and human_attribute_name to ActiveModel, remove ↵José Valim2009-10-201-1/+1
| | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com>
* Use ActiveModel::TestCase base classJeremy Kemper2009-09-241-1/+1
|
* Move model naming into ActiveModelJoshua Peek2009-06-171-0/+27