1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Francesco Rodriguez
5ea3f284a4 update AS/inflector docs [ci skip] 2012-09-14 22:44:06 -05:00
Francesco Rodriguez
f4e180578c update some AS code examples to 1.9 hash syntax [ci skip] 2012-09-12 13:47:49 -05:00
Carlos Galdino + Rafael Mendonça França
eb06d582e4 Revert "Merge pull request #6354 from lest/patch-1"
This reverts commit e8feaff60b, reversing
changes made to 9adf28c026.

Reason: This broke the actionmailer tests
2012-05-16 17:10:17 -03:00
Sergey Nartimov
f88f699a7b remove unnecessary require
- access & filters don't use multibyte ext
- transliterate requires only AS::Multibyte but not multibyte ext
2012-05-16 22:39:56 +03:00
Francesco Rodriguez
fa03e37d31 removing unnecessary 'examples' noise from activesupport 2012-05-13 20:26:53 -05:00
Jack Dempsey
a427876606 require i18n in transliterate so it can run in isolated situations 2010-09-14 10:25:33 -07:00
Norman Clarke
f3abc8ac36 Use multibyte proxy class on 1.9, refactor Unicode.
Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding.

Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency.

[#4594 state:resolved]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-05-21 12:24:54 -07:00
Xavier Noria
34d5725167 fixes colon in previous YAML example 2010-05-03 15:25:28 +02:00
Norman Clarke
756f762cdb Fix transliteration rule example in docs. [#4526 state:resolved]
Signed-off-by: Xavier Noria <fxn@hashref.com>
2010-05-03 15:22:52 +02:00
Norman Clarke
f0e754e713 Delegate Inflector.transliterate to i18n. [#4508 state:resolved]
Ancillary changes: Moved Chars#normalize into a class method; removed
unused UTF_PAT constant.

Signed-off-by: José Valim <jose.valim@gmail.com>
2010-04-30 16:18:12 +02:00
Norman Clarke
dceef0828a Improve reliability of Inflector.transliterate. [#4374 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-12 23:19:39 -07:00
Kristopher Murata
ef84e691ff Parameterize should accept malformed utf8 characters [#4323 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-04-04 09:37:26 -07:00
wycats
7a83abe52f Any reason we can't just use the slow 1.8 path for transliteration in 1.9? 2010-03-17 00:54:42 -07:00
Stijn Mathysen
67512b9489 Removed the + sign as an accepted character from the parameterize method, as 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>
2010-03-05 14:11:21 -08:00
Yehuda Katz
e1b5e3cc70 Break up inflector to reduce the dependency burden on dependency-les methods like constantize. 2009-11-07 11:23:21 -08:00