Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f | Akira Matsuda | 2019-08-02 | 1 | -8/+8 |
| | |||||
* | Fix `CustomCops/AssertNot` to allow it to have failure message | Ryuta Kamizono | 2018-05-13 | 1 | -1/+1 |
| | | | | Follow up of #32605. | ||||
* | Use frozen string literal in activemodel/ | Kir Shatrov | 2017-07-16 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | applies new string literal convention in activemodel/test | Xavier Noria | 2016-08-06 | 1 | -47/+47 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Delegate #model_name method to self.class | Yuki Nishijima | 2014-06-22 | 1 | -0/+6 |
| | |||||
* | Small typos here and there. | Vipul A M | 2013-03-15 | 1 | -1/+1 |
| | |||||
* | Adding the route_key and param_key tests | Attila Domokos | 2013-01-22 | 1 | -0/+8 |
| | | | This way all the tests are testing the same fields | ||||
* | Remove ActiveModel::Naming#partial_path | Grant Hutchins | 2012-03-10 | 1 | -24/+0 |
| | | | It was deprecated in 3.2 | ||||
* | Use ActiveModel::TestCase instead of Test::Unit:TestCase | Rafael Mendonça França | 2012-01-06 | 1 | -2/+2 |
| | |||||
* | Improve cache on route_key lookup. | José Valim | 2011-12-08 | 1 | -0/+8 |
| | |||||
* | ActiveModel::Name#i18n_key: Fix doc and add tests | Marc-Andre Lafortune | 2011-12-05 | 1 | -0/+20 |
| | |||||
* | Warning removed unused variable | Arun Agrawal | 2011-11-26 | 1 | -1/+1 |
| | |||||
* | make ActiveModel::Name fail gracefully with anonymous classes | Jakub Kuźma | 2011-11-24 | 1 | -0/+13 |
| | |||||
* | Rely on a public contract between railties instead of accessing railtie ↵ | José Valim | 2011-11-23 | 1 | -4/+34 |
| | | | | methods directly. | ||||
* | One of the activemodel naming tests wasn't asserting anything. | Uģis Ozols | 2011-10-07 | 1 | -1/+1 |
| | |||||
* | Rename new method to_path to to_partial_path to avoid conflicts with ↵ | José Valim | 2011-08-01 | 1 | -4/+4 |
| | | | | File#to_path and similar. | ||||
* | Let ActiveModel instances define partial paths. | Grant Hutchins & Peter Jaros | 2011-07-25 | 1 | -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 #1168 | Yves Senn | 2011-05-20 | 1 | -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 helpers | Ernie Miller | 2010-10-04 | 1 | -0/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Don't act destructively on ActiveModel::Name#human options hash. [#5366 ↵ | John Firebaugh | 2010-09-25 | 1 | -0/+4 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Prepared ActiveModel::Naming to handle cases for namespaced isolated engines | Piotr Sarnacki | 2010-09-03 | 1 | -0/+99 |
| | |||||
* | Reuse already existing classes for ActiveModel tests. | José Valim | 2010-07-21 | 1 | -0/+39 |
| | |||||
* | Small clean up in Naming and TTranslation tests. | José Valim | 2009-12-23 | 1 | -1/+2 |
| | |||||
* | Move validator, human_name and human_attribute_name to ActiveModel, remove ↵ | José Valim | 2009-10-20 | 1 | -1/+1 |
| | | | | | | deprecated error messages and add i18n_scope and lookup_ancestors. Signed-off-by: Carl Lerche <carllerche@mac.com> | ||||
* | Use ActiveModel::TestCase base class | Jeremy Kemper | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Move model naming into ActiveModel | Joshua Peek | 2009-06-17 | 1 | -0/+27 |