Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix an issue with inflection where my_analyses (in plular form) incorrectly ↵ | Anuj Dutta | 2012-05-16 | 1 | -0/+1 |
| | | | | converted to my_analyasis(in singular form). | ||||
* | Merge pull request #5177 from cap10morgan/fix-gh-issue-4374 | José Valim | 2012-04-30 | 1 | -1/+3 |
|\ | | | | | fix inflector bug where -ice gets singularized into -ouse | ||||
| * | fix inflector bug where -ice gets pluralized into -ouse | Wes Morgan | 2012-02-25 | 1 | -1/+3 |
| | | | | | | | | This should happen for mouse or louse, but not slice or pumice. | ||||
* | | adds a new test case for titleize | Xavier Noria | 2012-04-08 | 1 | -0/+1 |
| | | |||||
* | | revises the regexp used in titleize | Xavier Noria | 2012-04-07 | 1 | -12/+15 |
| | | | | | | | | | | | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match. | ||||
* | | String#titleize works properly with smart quotes, closes #5584 | Vasiliy Ermolovich | 2012-03-26 | 1 | -1/+3 |
|/ | |||||
* | fixes a regression introduced by 532cd4, and a bogus test in AP the ↵ | Xavier Noria | 2012-02-10 | 1 | -0/+1 |
| | | | | regression uncovered | ||||
* | Fix inflection regexes for mouse, mice | Mark Rushakoff | 2011-12-07 | 1 | -1/+5 |
| | |||||
* | Added the test case for #3537 | Pavan Kumar Sunkara | 2011-11-06 | 1 | -0/+1 |
| | |||||
* | Revert removing gsub and sub from safe buffer. | José Valim | 2011-09-08 | 1 | -0/+7 |
| | |||||
* | remove support of symbols on classify and camelize | Damien Mathieu | 2011-09-08 | 1 | -7/+0 |
| | |||||
* | StringToParameterizeWithNoSeparator: dashed parameter will not | Arun Agrawal | 2011-06-25 | 1 | -1/+1 |
| | | | change. | ||||
* | Test retain delimiter in parameterization inflector | David Lee | 2011-06-11 | 1 | -0/+3 |
| | |||||
* | ordinalize negative numbers patch | Jason | 2011-05-07 | 1 | -0/+30 |
| | | | | | | | Applied patch by Amir Manji https://github.com/rails/rails/issues/437#issuecomment-1116045 Signed-off-by: Jason <jasonmichaelroth@gmail.com> | ||||
* | handle double pluralization for irregular plurals | Dan Pickett | 2011-02-16 | 1 | -0/+1 |
| | | | | | | [#6363] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Improve reliability of Inflector.transliterate. [#4374 state:resolved] | Norman Clarke | 2010-04-12 | 1 | -1/+4 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Changed the way inflections for uncountables work for 'funky jeans' [#3576 ↵ | Rolf Bjaanes | 2010-04-05 | 1 | -0/+2 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Parameterize should accept malformed utf8 characters [#4323 state:resolved] | Kristopher Murata | 2010-04-04 | 1 | -4/+8 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Any reason we can't just use the slow 1.8 path for transliteration in 1.9? | wycats | 2010-03-17 | 1 | -12/+4 |
| | |||||
* | Removed the + sign as an accepted character from the parameterize method, as ↵ | Stijn Mathysen | 2010-03-05 | 1 | -3/+6 |
| | | | | | | | | a + sign is interpreted by the browser as a space, possibly resulting in a "ArgumentError: illegal character in key" [#4080 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | ensure Inflector.camelize works with symbols [#2856 state:resolved] | Yehuda Katz + Carl Lerche | 2009-07-01 | 1 | -0/+7 |
| | | | Signed-off-by: Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | ||||
* | Allow String#parameterize to accept a separator [#2157 state:resolved] | Sam Granieri | 2009-03-07 | 1 | -0/+16 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Adding inflection of databases (usually we wouldn't amend the current ↵ | Jiri Zajpt | 2009-02-12 | 1 | -1/+2 |
| | | | | | | defaults, but this seems to obvious) [#1942 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Ruby 1.9 compat: no Unicode normalization support yet | Jeremy Kemper | 2008-11-26 | 1 | -2/+13 |
| | |||||
* | Mark utf-8 source encoding | Jeremy Kemper | 2008-10-06 | 1 | -0/+2 |
| | |||||
* | Modified ActiveSupport::Inflector#parameterize with code from slugalizer ↵ | Adam Cigánek | 2008-09-23 | 1 | -1/+4 |
| | | | | | | | | | (http://github.com/henrik/slugalizer) Handles trailing and leading slashes, and squashes repeated separators into a single character. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1034 state:committed] | ||||
* | Flesh out the parameterize method to support non-ascii text and underscores. | Michael Koziarski | 2008-09-11 | 1 | -1/+4 |
| | |||||
* | Added Inflector#parameterize for easy slug generation ("Donald E. ↵ | David Heinemeier Hansson | 2008-09-10 | 1 | -0/+5 |
| | | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby] | ||||
* | Fixed String#titleize to work for strings with 's too (closes #10571) [trek] | David Heinemeier Hansson | 2008-01-03 | 1 | -1/+4 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Extract InflectorTestCases so both inflector and string inflections tests ↵ | Jeremy Kemper | 2007-09-27 | 1 | -0/+208 |
can use them. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7655 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |