aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* Revert "created unit tests and fixed bug that failed tests"David Heinemeier Hansson2009-02-052-22/+2
| | | | This reverts commit be1dbf321aba03c2e9bec423f753308e9bba3ef5.
* created unit tests and fixed bug that failed testsThijs de Vries2009-02-052-2/+22
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Ruby 1.9: force ascii encoding for comparison with utf8 regexpJeremy Kemper2009-02-031-0/+2
|
* Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha.Jeremy Kemper2009-02-031-1/+2
|
* Mark CHANGELOGs for releaseDavid Heinemeier Hansson2009-02-011-1/+1
|
* Merge docrailsPratik Naik2009-02-011-4/+9
|
* Make sure XmlMini is being correctly autoloaded by Ruby 1.9.1Luca Guidi2009-01-311-90/+92
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Ensure constant_watch_stack is protected by a mutex, so concurrent requires ↵Charles Nutter2009-01-301-5/+14
| | | | | | | | do not corrupt it. [#1816 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Only dup local cache values if duplicable [#1653 state:resolved]Joshua Peek2009-01-282-1/+13
|
* add #available_locales to I18n and I18n::SimpleBackend, flatten translations ↵Sven Fuchs2009-01-253-1/+34
| | | | | | load_path when loading translations [#1714 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* add an inspect method to OrderedHash to make it clear that it is not a ↵Greg Borenstein2009-01-261-0/+4
| | | | | | | species of Array Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1782 state:committed]
* Merge docrailsPratik Naik2009-01-1810-13/+13
|
* Bump up the year in MIT license filesPratik Naik2009-01-181-1/+1
|
* Refactor Object#try to use inheritance. [#1774 state:resolved]Josh Susser2009-01-182-17/+30
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Decouple the local cache strategy from MemCacheStore for reuse with other ↵Lourens Naude2009-01-174-75/+133
| | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Dup keys in OrderedHash to prevent them from being modified [#1676 ↵Brandon Keepers2009-01-162-10/+31
| | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Properly quote json keys.Michael Koziarski2009-01-162-4/+4
| | | | | According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes. [#1755 state:committed]
* Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵Nahum Wild2009-01-152-20/+164
| | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Change Object#try to raise NoMethodError on private methods and always ↵Pratik Naik2009-01-132-10/+11
| | | | return nil when Object is nil [Pratik Naik, Lawrence Pit]
* TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 ↵Nicholas Dainty2009-01-113-2/+17
| | | | state:resolved]
* Process time should be wall time when benchmarkingPratik Naik2009-01-091-1/+1
|
* Object#tap for Ruby < 1.8.7Jeremy Kemper2009-01-073-0/+26
|
* Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del ↵Pratik Naik2009-01-072-2/+3
| | | | Strother]
* TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime ↵gbuesing2009-01-043-1/+12
| | | | argument
* Allow multiple conditions for callbacks [#1627 state:resolved]Joshua Peek2008-12-282-8/+43
|
* Fix 'i18n' require broken by 0.0.1 -> 0.1.1 commit [#1658 state:committed]Yaroslav Markin2008-12-281-1/+1
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Update i18n gem to version 0.1.1 (Rails' changes were backported) [#1635 ↵Yaroslav Markin2008-12-2816-71/+884
| | | | | | state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-2815-182/+194
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved]trans2008-12-262-4/+25
| | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Add :allow_nil option to delegate [#1127 state:resolved]Sergio Gil2008-12-213-1/+56
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* normalize author names in changelogs [#1495 state:committed]Xavier Noria2008-12-161-88/+88
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Revert "Make constantize look into ancestors"Jeremy Kemper2008-12-152-40/+42
| | | | | | [#410 state:open] This reverts commit 262fef7ed57520b857605a0105fe7ba9265654f6.
* Make constantize look into ancestorsFrederick Cheung2008-12-152-42/+40
| | | | | | [#410 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Properly parenthasize calls to defined?(Rails) in 75fa82418 [#1563 ↵Frederick Cheung2008-12-152-2/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Make delete_if/reject faster and fix other mutatorsFrederick Cheung2008-12-152-13/+61
| | | | | | [#1559 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed ActiveSupport::OrderedHash #delete_if, #reject!, and #reject, which ↵Eloy Duran2008-12-112-1/+46
| | | | | | | | did not sync the @keys after the operation. This probably holds true for other mutating methods as well. Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Prefer Rails.logger over RAILS_DEFAULT_LOGGERJoshua Peek2008-12-102-4/+4
|
* Squash memory leak when calling flush with an empty bufferFrederick Cheung2008-12-102-1/+10
| | | | | | [#1552 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵Bruce Krysiak2008-12-102-7/+20
| | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Rework ActiveSupport::OrderedHash to make lookups fasterFrederick Cheung2008-12-102-36/+33
| | | | | | [#1352 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-093-223/+244
|\ | | | | | | | | Conflicts: activesupport/CHANGELOG
| * Updated included memcache-client to the 1.5.0.5 version which includes fixes ↵David Heinemeier Hansson2008-12-093-223/+244
| | | | | | | | | | | | from fiveruns and 37signals to deal with failover and timeouts (Joshua Sierles) [#1535 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | Benchmark.msJeremy Kemper2008-12-093-8/+17
|/
* Add ActiveSupport::Multibyte::Chars#ord method so that it returns correct ↵Jason Cheow2008-12-083-0/+14
| | | | | | | | Unicode value instead of falling back on String#ord in CoreExtensions, which is not multibyte compatible [#1483 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Changelog entry for #1397Jeremy Kemper2008-12-081-0/+2
|
* Change Array#to_sentence I18n options to pass comma and space character from ↵Akira Matsuda2008-12-084-26/+38
| | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge with docrailsPratik Naik2008-12-073-1/+5
|
* Silence server backtrace in rescue templates and log files. Also remove some ↵Joshua Peek2008-12-051-8/+11
| | | | noise from missing template errors.
* Add Memoizable#flush_cache to clear the cache of a specific method [#1505 ↵Joshua Peek2008-12-032-16/+38
| | | | state:resolved]
* Ruby 1.9 compat: no Unicode normalization support yetJeremy Kemper2008-11-263-3/+27
|