aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/string/interpolation.rb
Commit message (Collapse)AuthorAgeFilesLines
* Unforce i18n from ASSantiago Pastorino2010-05-311-0/+1
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make many parts of Rails lazy. In order to facilitate this,wycats2010-03-071-91/+1
| | | | | | | | | | | | add lazy_load_hooks.rb, which allows us to declare code that should be run at some later time. For instance, this allows us to defer requiring ActiveRecord::Base at boot time purely to apply configuration. Instead, we register a hook that should apply configuration once ActiveRecord::Base is loaded. With these changes, brings down total boot time of a new app to 300ms in production and 400ms in dev. TODO: rename base_hook
* Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
|
* Check whether another lib has implemented ruby 1.9 string interp syntaxJeremy Kemper2009-11-181-1/+1
|
* String#bytesize is not needed for Ruby >= 1.8.7Xavier Noria2009-11-091-1/+0
|
* Revert "Bundle I18n 0.2.0."Yehuda Katz2009-11-091-1/+1
| | | | This reverts commit 83f329f5f30567a10bc96410da230bf986db8ad4.
* Bundle I18n 0.2.0.José Valim2009-11-091-1/+1
|
* Extract String#bytesize shimJeremy Kemper2009-08-011-3/+2
|
* * don't include String#% for Ruby 1.9Sven Fuchs2009-07-181-73/+79
| | | | | | | | | | * raise a KeyError exception for missing named interpolation args (like Ruby 1.9 does) * raise an ArgumentError when mixing named and unnamed placeholders (like Ruby 1.9 does) * improve docs and comply a bit more w/ Rails names/conventions [#2870 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ruby 1.9 style String interpolation support for lower ruby versions. Thanks ↵Lawrence Pit2009-07-071-0/+87
to code from Masao Mutoh's GetText gem. [#2870 state:resolved] Signed-off-by: Yehuda Katz <wycats@yehuda-katzs-macbookpro41.local>