Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | JSON: encode objects that don't have a native JSON representation using ↵ | Jeremy Kemper | 2010-04-26 | 1 | -5/+19 | |
| | | | | to_hash, if available, instead of instance_values (the old fallback) or to_s (other encoders' default). Encode BigDecimal and Regexp encode as strings to conform with other encoders. Try to transcode non-UTF-8 strings. | |||||
* | Use explicit source encoding rather than forced UTF-8 from US-ASCII. | Santiago Pastorino | 2010-04-26 | 1 | -1/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved] | Anil Wadghule | 2010-04-26 | 2 | -2/+4 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Action Pack: fix tests with -K*, work around Ruby 1.9.1 constant lookup. | Cezary Baginski | 2010-04-25 | 1 | -2/+2 | |
| | | | | | | [#4473 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | allow unsubscribe by name or subscription [#4433 state:resolved] | David Chelimsky | 2010-04-24 | 1 | -5/+15 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | HWIA relies on Hash#symbolize_keys and #stringify_keys extensions. | Santiago Pastorino | 2010-04-22 | 1 | -0/+2 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Change HWIA#stringify_keys to return a HWIA not a Hash | Jeremy Kemper | 2010-04-22 | 1 | -1/+1 | |
| | ||||||
* | Restore HWIA#stringify_keys! and update changelog | Jeremy Kemper | 2010-04-22 | 1 | -2/+2 | |
| | ||||||
* | HWIA delegates to to_hash symbolize_keys and stringify_keys and bang methods ↵ | Santiago Pastorino | 2010-04-22 | 1 | -2/+4 | |
| | | | | | | are not in the api Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Clean up the config object in ActionPack. Create config_accessor which just ↵ | José Valim | 2010-04-22 | 1 | -18/+19 | |
| | | | | delegates to the config object, reducing the number of deprecations and add specific tests. | |||||
* | updates String#to_(date|date_time|time) to return nil for blank strings | Daniel Neighman | 2010-04-21 | 1 | -0/+3 | |
| | ||||||
* | TimeZones lazy load | Santiago Pastorino | 2010-04-20 | 1 | -24/+9 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Switch to TimezoneProxy for later support of deferred TZ loading | Jeremy Kemper | 2010-04-20 | 1 | -3/+1 | |
| | ||||||
* | Missing requires added | Santiago Pastorino | 2010-04-20 | 1 | -0/+3 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | much complete rdoc for String#ord | Xavier Noria | 2010-04-19 | 1 | -3/+19 | |
| | ||||||
* | revises the rdoc of String#ord | Xavier Noria | 2010-04-19 | 1 | -1/+5 | |
| | ||||||
* | MemoryStore#read_multi(*keys) for dev-mode compatibility with memcache store | Jeremy Kemper | 2010-04-19 | 1 | -1/+7 | |
| | ||||||
* | remove code for Ruby < 1.8.7 | Santiago Pastorino | 2010-04-18 | 1 | -12/+0 | |
| | ||||||
* | removes code written for Ruby < 1.8.7 | Xavier Noria | 2010-04-17 | 1 | -7/+0 | |
| | ||||||
* | Make i18n fallbacks configurable and fallback to the default locale by ↵ | Sven Fuchs | 2010-04-17 | 1 | -0/+35 | |
| | | | | | | | | | | | | | | | | | | | | | default in production [#4428 state:resolved] Allows to configure locale fallbacks through config.i18n.fallbacks. The default setting config.i18n.fallbacks = true in production.rb will make I18n.t lookup fallback to the I18n.default_locale if a translation could not be found for the current or given locale. config.fallbacks = true config.fallbacks.map = { :ca => :es } config.fallbacks.defaults = [:'es-ES', :es] config.fallbacks = [:'es-ES', :es] config.fallbacks = { :ca => :es } config.fallbacks = [:'es-ES', :es, { :ca => :es }] Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | |||||
* | fixing invalid yaml [#4418 state:resolved] | Aaron Patterson | 2010-04-16 | 1 | -1/+4 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | add missing requires to Rescuable and RouteSet [#4415 state:committed] | Mislav Marohnić | 2010-04-16 | 1 | -0/+1 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | utc_offset returns nil for unknown zones | Santiago Pastorino | 2010-04-14 | 1 | -2/+3 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Added missing require and delete unused one on proc.rb | Santiago Pastorino | 2010-04-13 | 1 | -1/+1 | |
| | ||||||
* | Improve reliability of Inflector.transliterate. [#4374 state:resolved] | Norman Clarke | 2010-04-12 | 1 | -24/+37 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Avoid unnecessary allocations in Inflector.underscore [#3626 state:resolved] | Joe Van Dyk | 2010-04-12 | 1 | -5/+7 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Not using class_eval wasn't adding clarity here | wycats | 2010-04-10 | 1 | -15/+24 | |
| | ||||||
* | Made arrays of ActiveRecords, and any classes, with namespaces convert to ↵ | mfoster | 2010-04-10 | 1 | -1/+1 | |
| | | | | | | valid xml. [#3824 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | ActiveSupport::BacktraceCleaner#remove_filters! allows for completely ↵ | Doug Alcorn | 2010-04-10 | 1 | -1/+7 | |
| | | | | | | untouched backtrace [#4079 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Update versions (otherwise you install a gem from source as beta3 but ↵ | José Valim | 2010-04-10 | 1 | -1/+1 | |
| | | | | internally it's beta2) and update CHANGELOG. | |||||
* | Refactor for readability | Jeremy Kemper | 2010-04-09 | 1 | -30/+24 | |
| | ||||||
* | Fixed method sign error | Santiago Pastorino | 2010-04-09 | 1 | -1/+1 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | fix stack trace lines on class_eval | Santiago Pastorino | 2010-04-09 | 5 | -6/+6 | |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | Make tidy_bytes work on 1.9 and improve its performance. [#4350 state:resolved] | Norman Clarke | 2010-04-09 | 1 | -18/+67 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | fisting stack trace [#4349 state:resolved] | Aaron Patterson | 2010-04-08 | 1 | -1/+1 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | Make sure MemCacheStore logger exists | Joshua Peek | 2010-04-07 | 1 | -3/+3 | |
| | ||||||
* | Changed the way inflections for uncountables work for 'funky jeans' [#3576 ↵ | Rolf Bjaanes | 2010-04-05 | 2 | -2/+2 | |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | |||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 8 | -9/+9 | |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | |||||
* | Parameterize should accept malformed utf8 characters [#4323 state:resolved] | Kristopher Murata | 2010-04-04 | 1 | -1/+4 | |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | delegate unknown timezones to TZInfo | Santiago Pastorino | 2010-04-02 | 1 | -5/+12 | |
| | ||||||
* | utc_offset is no longer required on TimeZone and if it's not supplied we ↵ | Santiago Pastorino | 2010-04-02 | 1 | -61/+18 | |
| | | | | delegate to TZInfo | |||||
* | Fix class_attribute so that it works with singleton classes. | Carl Lerche | 2010-04-01 | 1 | -1/+1 | |
| | ||||||
* | Prep for beta2, depend on latest Bundler | David Heinemeier Hansson | 2010-04-01 | 1 | -1/+1 | |
| | ||||||
* | adds missing require for blank? and present? | Xavier Noria | 2010-03-31 | 1 | -0/+1 | |
| | ||||||
* | Don't cache the utc_offset we are already caching the timezone [#4301 ↵ | Santiago Pastorino | 2010-03-30 | 1 | -2/+5 | |
| | | | | | | state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | |||||
* | New assertion: assert_present [#4299 state:committed] | Juanjo Bazan | 2010-03-30 | 1 | -0/+7 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | new assertion: assert_blank | Juanjo Bazan | 2010-03-30 | 1 | -0/+7 | |
| | | | | Signed-off-by: Xavier Noria <fxn@hashref.com> | |||||
* | Replace the placeholder base_hook API with on_load. To specify some code that | wycats | 2010-03-29 | 4 | -25/+13 | |
| | | | | | | | | should run during framework load do: ActiveSupport.on_load(:action_controller) do # Code run in the context of AC::Base end | |||||
* | Revert "Hash#symbolize_keys(!) optimizations" | Jeremy Kemper | 2010-03-29 | 1 | -1/+1 | |
| | | | | | | | | Was slower in common case. [#3891 state:open] This reverts commit 2060977b767061a42eb8db2d5c3a30d205a94123. | |||||
* | Provide a better error if the parsed REXML document has no root [#3803 ↵ | wycats | 2010-03-28 | 1 | -1/+7 | |
| | | | | state:resolved] |