aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/naming.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Fix call sitesGannon McGibbon2018-10-021-1/+1
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-1/+1
* ActiveModel::Naming delegate match? in the same manner as =~ and != (#33466)Bart2018-07-291-1/+17
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-2/+2
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Fix call-seq typo s/==/<=>/ [ci skip]Ryuta Kamizono2017-06-211-1/+1
* `self.` is not needed when calling its own instance methodAkira Matsuda2017-01-051-1/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* removes requires already present in active_support/railsXavier Noria2016-10-271-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-3/+3
* applies new string literal convention in activemodel/libXavier Noria2016-08-061-6/+6
* use ActiveModel::Naming module instead of Model [ci skip]Roman Pramberger2015-10-061-1/+1
* Fixed humane -> human [ci skip]Pratik2015-09-261-1/+1
* Freeze string literals when not mutated.schneems2015-07-191-1/+1
* Require Module#delegate core ext in ActiveModel::NamingRyan Bigg2015-03-311-0/+1
* activemodel: make .model_name json encodableIan Ker-Seymer2015-02-241-1/+1
* Add missing AS core extension dependencyWojciech Wnętrzak2015-01-211-0/+1
* removing unecessary parameter in private methodGeorge Millo2015-01-061-2/+2
* Use Active Model, not ActiveModel in plain Englishclaudiob2015-01-021-1/+1
* 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