aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/inflector/methods.rb
Commit message (Expand)AuthorAgeFilesLines
* Enable `Layout/EmptyLinesAroundAccessModifier` copRyuta Kamizono2019-06-131-1/+0
* Fix safe_constantize to not raise a LoadError.Keenan Brock2019-01-091-0/+2
* Add `Style/RedundantFreeze` to remove redudant `.freeze`Yasuo Honda2018-09-291-13/+13
* Remove unused `require "active_support/core_ext/regexp"`Ryuta Kamizono2018-07-291-1/+0
* `ActiveSupport::Inflector#ordinal` and `ActiveSupport::Inflector#ordinalize`Christian Blais2018-03-051-13/+2
* Enable autocorrect for `Lint/EndAlignment` copKoichi ITO2018-01-181-1/+1
* Merge pull request #30782 from NickLaMuro/improve_performance_of_inflectionsMatthew Draper2017-11-141-2/+2
|\
| * Cache regexps generated from acronym_regexNick LaMuro2017-10-231-2/+2
* | Fix acronym support in `humanize`Andrew White2017-11-061-1/+1
|/
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-2/+2
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-2/+2
* Fix pluralization of uncountables when given a localeEilis Hamilton2017-05-191-6/+9
* Use keyword arguments instead of hashRafael Mendonça França2017-03-281-5/+7
* Merge pull request #28480 from mubashirhanif/add_keep_id_suffix_option_to_hum...Rafael Mendonça França2017-03-281-12/+22
|\
| * Added options hash to titleize method and keep_id_suffix option to humanizeMubashir Hanif2017-03-211-12/+22
* | Update `titlelize` regex to allow apostrophesAndrew White2017-03-061-1/+1
* | There's no such moduleAkira Matsuda2017-01-051-4/+4
* | Privatize unneededly protected methods in Active SupportAkira Matsuda2016-12-241-1/+1
* | Fix constantize edge case involving prepend, autoloading and name conflictsJean Boussier2016-12-141-1/+1
|/
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-2/+2
* Fix broken comments indentation caused by rubocop auto-correct [ci skip]Ryuta Kamizono2016-09-141-9/+9
* applies remaining conventions across the projectXavier Noria2016-08-061-3/+3
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-15/+15
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-13/+13
* revises a regexpXavier Noria2016-07-221-1/+1
* systematic revision of =~ usage in ASXavier Noria2016-07-221-2/+3
* fix ActiveSupport::Infector.constantize usage API doc [ci skip]Pan GaoYong2016-06-301-4/+4
* Fix method String#upcase_firstbogdanvlviv2016-03-311-2/+4
* Add upcase_first methodGlauco Custódio2016-02-251-0/+7
* fix typo on commentsPaulo Ancheta2015-12-231-1/+1
* File encoding is defaulted to utf-8 in Ruby >= 2.1Akira Matsuda2015-09-181-2/+0
* Merge pull request #21217 from myrridin/myrridin-documentation-updatesZachary Scott2015-08-121-2/+2
|\
| * [ci skip] Switch around a common idiom for readabilityThomas Hart II2015-08-051-2/+2
* | Decrease string allocations in apply_inflectionsschneems2015-07-291-2/+2
|/
* Fix tests broken by previous commitSean Griffin2015-07-191-1/+1
* Freeze string literals when not mutated.schneems2015-07-191-10/+10
* Use block variable instead of globalRoque Pinel2015-06-091-1/+1
* Use block variable instead of globalschneems2015-06-011-2/+2
* [ci skip] remove unnecessary mention to Test::Unit from docsRoque Pinel2015-05-161-4/+4
* Freeze static arguments for gsubbrainopia2015-04-021-2/+2
* Prefer string patterns for gsubbrainopia2015-04-021-2/+2
* Fix docs for ActiveSupport::Inflector methodsclaudiob2015-01-031-69/+69
* Call gsub with a Regexp instead of a String for better performancePablo Herrero2014-11-011-1/+1
* Do gsub with a regexp instead of a stringPablo Herrero2014-10-291-1/+1
* :heart: 1.9Matthew Draper2014-10-041-1/+1
* Merge pull request #14146 from chewi/fix-underscore-acronyms-regexMatthew Draper2014-10-041-1/+1
|\
| * Fix underscore inflector handling of adjacent acronymsJames Le Cuirot2014-10-031-1/+1
|/
* Fix for inflector's incorrect camelCase replacement for acronymsMatthew Draper2014-09-061-1/+1