aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/naming_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Small typos here and there.Vipul A M2013-03-151-1/+1
|
* Adding the route_key and param_key testsAttila Domokos2013-01-221-0/+8
| | | This way all the tests are testing the same fields
* Remove ActiveModel::Naming#partial_pathGrant Hutchins2012-03-101-24/+0
| | | It was deprecated in 3.2
* Use ActiveModel::TestCase instead of Test::Unit:TestCaseRafael Mendonça França2012-01-061-2/+2
|
* Improve cache on route_key lookup.José Valim2011-12-081-0/+8
|
* ActiveModel::Name#i18n_key: Fix doc and add testsMarc-Andre Lafortune2011-12-051-0/+20
|
* Warning removed unused variableArun Agrawal2011-11-261-1/+1
|
* make ActiveModel::Name fail gracefully with anonymous classesJakub Kuźma2011-11-241-0/+13
|
* Rely on a public contract between railties instead of accessing railtie ↵José Valim2011-11-231-4/+34
| | | | methods directly.
* One of the activemodel naming tests wasn't asserting anything.Uģis Ozols2011-10-071-1/+1
|
* 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