aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/naming.rb
Commit message (Expand)AuthorAgeFilesLines
* No need to check model_name anymoreRafael Mendonça França2014-08-171-4/+2
* Merge pull request #15889 from carnesmedia/model-nameRafael Mendonça França2014-08-171-1/+1
|\
| * Use #model_name on instances instead of classesAmiel Martin2014-06-241-1/+1
* | Call public methods rather than class_eval'ingCarlos Antonio da Silva2014-08-051-4/+2
* | Silence warning emitted in testsSean Griffin2014-07-011-0/+1
|/
* Delegate #model_name method to self.classYuki Nishijima2014-06-221-0/+6
* [ci skip] Include ActiveModel::Model in a class instead of inheritingAkshay Vishnoi2014-05-301-2/+3
* Name#model_name doesn't return a String objectShunsukeAida2014-05-301-1/+1
* Change syntax format for example returned valuesPrem Sichanugrist2013-11-111-6/+6
* Merge pull request #12686 from kryzhovnik/masterCarlos Antonio da Silva2013-11-021-6/+6
|\
| * Minor doc fix of ActiveModel::Naming.Andrey Samsonov2013-10-291-6/+6
* | Revert "Merge pull request #11053 from yangchenyun/mine"José Valim2013-06-221-2/+0
* | add explicit AS dependencies for ActiveModel::NamingSteven Yang2013-06-221-0/+2
* | Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-2/+2
* | cleanup, removed dispensable `require` statements from `ActiveModel`Yves Senn2012-11-251-1/+0
* | cleanup, remove broken whitespaceYves Senn2012-11-251-2/+2
* | Trivial documentation fix for ActiveModel::Naming comment.Dennis Taylor2012-11-091-2/+2
* | minor edits in AM documentation [ci skip]Francesco Rodriguez2012-10-211-1/+1
|/
* Refactor model name logic and make it a real private class methodCarlos Antonio da Silva2012-08-111-5/+8
* Naming helpers should first check if passed object responds to model_nameBert Goethals2012-08-081-5/+3
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-08-041-12/+20
|\
| * add example to ActiveModel::Naming#model_name [ci skip]Francesco Rodriguez2012-07-271-0/+8
| * fix AM::Naming examples [ci skip]Francesco Rodriguez2012-07-271-12/+12
* | load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
* | load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
|/
* update ActiveModel::Name documentation [ci skip]Francesco Rodriguez2012-06-251-1/+133
* update ActiveModel::Naming documentationFrancesco Rodriguez2012-06-231-7/+8
* Refactor human attribute nameCarlos Antonio da Silva2012-04-281-1/+1
* Don't include deprecation in AM::Naming anymoreGrant Hutchins2012-03-311-1/+0
* no need to freeze things all the timeAaron Patterson2012-03-261-8/+7
* ActiveModel::Name does not inherit from stringLukasz Sarnacki2012-03-261-11/+16
* Remove ActiveModel::Naming#partial_pathGrant Hutchins2012-03-101-4/+1
* Added missing ActiveModel::Naming dependency.Shane Hanna2012-03-091-0/+1
* Improve cache on route_key lookup.José Valim2011-12-081-2/+23
* ActiveModel::Name#i18n_key: Fix doc and add testsMarc-Andre Lafortune2011-12-051-2/+2
* make ActiveModel::Name fail gracefully with anonymous classesJakub Kuźma2011-11-241-0/+3
* Rely on a public contract between railties instead of accessing railtie metho...José Valim2011-11-231-11/+13
* Rename new method to_path to to_partial_path to avoid conflicts with File#to_...José Valim2011-08-011-1/+1
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-0/+3
* Get rid of the alternate namespace lookup.José Valim2011-06-111-4/+3
* Brought back alternative convention for namespaced models in i18n.thoefer2011-06-081-3/+4
* Specify the name to be used for ActiveModel::Name fixes #1168Yves Senn2011-05-201-2/+3
* Removed extra whitespaceSebastian Martinez2011-04-261-1/+1
* Bring back AMo#i18n_key methodSantiago Pastorino2011-03-301-5/+10
* Revert "Properly interpolate i18n keys in modules [#5572 state:resolved]"Santiago Pastorino2011-02-271-10/+5
* fix type: remove extra periodNicholas Rowe2011-02-171-1/+1
* Added missing AS require to active_model/naming.rbsnusnu2010-10-301-0/+1
* Convert to model before calling model_name on a record in ActiveModel::NamingErnie Miller2010-10-041-1/+5
* Fix Namind#model_name.thedarkone2010-09-271-2/+4
* Don't act destructively on ActiveModel::Name#human options hash. [#5366 state...John Firebaugh2010-09-251-2/+3