aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix JSON decoder date-converter regexp [#1662 state:resolved] [Jonathan del ↵Pratik Naik2009-01-071-1/+1
| | | | Strother]
* TimeWithZone#- gives correct result with wrapped DateTime, and with DateTime ↵gbuesing2009-01-041-1/+1
| | | | argument
* Allow multiple conditions for callbacks [#1627 state:resolved]Joshua Peek2008-12-281-7/+2
|
* 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-2815-71/+882
| | | | | | 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-261-1/+8
| | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Add :allow_nil option to delegate [#1127 state:resolved]Sergio Gil2008-12-211-1/+27
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Revert "Make constantize look into ancestors"Jeremy Kemper2008-12-151-24/+41
| | | | | | [#410 state:open] This reverts commit 262fef7ed57520b857605a0105fe7ba9265654f6.
* Make constantize look into ancestorsFrederick Cheung2008-12-151-41/+24
| | | | | | [#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-151-13/+24
| | | | | | [#1559 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fixed ActiveSupport::OrderedHash #delete_if, #reject!, and #reject, which ↵Eloy Duran2008-12-111-0/+25
| | | | | | | | 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-101-1/+4
| | | | | | [#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-101-7/+13
| | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Rework ActiveSupport::OrderedHash to make lookups fasterFrederick Cheung2008-12-101-36/+23
| | | | | | [#1352 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2008-12-092-223/+242
|\ | | | | | | | | Conflicts: activesupport/CHANGELOG
| * Updated included memcache-client to the 1.5.0.5 version which includes fixes ↵David Heinemeier Hansson2008-12-092-223/+242
| | | | | | | | | | | | 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-092-8/+15
|/
* Add ActiveSupport::Multibyte::Chars#ord method so that it returns correct ↵Jason Cheow2008-12-081-0/+8
| | | | | | | | 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>
* Change Array#to_sentence I18n options to pass comma and space character from ↵Akira Matsuda2008-12-082-11/+13
| | | | | | | | 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-031-16/+28
| | | | state:resolved]
* Ruby 1.9 compat: no Unicode normalization support yetJeremy Kemper2008-11-261-1/+8
|
* Ruby 1.9 compat: CGI#escape_skipping_slashesJeremy Kemper2008-11-261-5/+14
|
* MiniTest::Unit#method_name alias for Test::Unit compatJeremy Kemper2008-11-261-0/+1
|
* Don't re-require 'rexml/document'Pratik Naik2008-11-261-1/+1
|
* Added ActiveSupport::OrderedHash#each_key and ↵Christoffer Sawicki2008-11-261-0/+8
| | | | | | ActiveSupport::OrderedHash#each_value [#1410 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Simpler and clearer to just explicitly require the JSON encodersJeremy Kemper2008-11-261-9/+15
|
* Autoload ActiveSupport::XmlMiniJeremy Kemper2008-11-261-1/+0
|
* Require as little of REXML as possible to apply the entity_expansion_limit fixJeremy Kemper2008-11-261-24/+29
|
* Lazy-require CGI for Object#to_queryJeremy Kemper2008-11-261-2/+1
|
* Extract XmlMini. Namespace FileLike extension.Jeremy Kemper2008-11-252-128/+125
|
* Rescue OpenSSL::Cipher::CipherError or OpenSSL::CipherError depending on ↵Jeremy Kemper2008-11-251-3/+4
| | | | which is present
* Unbundled XmlSimpleJeremy Kemper2008-11-252-1027/+0
|
* Extract XmlMini from XmlSimple. [#1474 state:committed]Joseph Holsten2008-11-251-21/+106
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Add a MessageEncryptor, just like MessageVerifier but using symmetric key ↵Michael Koziarski2008-11-251-0/+69
| | | | | | | | encryption. The use of encryption prevents people from seeing any potentially secret values you've used. It also supports and encrypt_and_sign model to prevent people from tampering with the bits and creating random junk that gets fed to A motivated coder could use this to add an :encrypt=>true option to the cookie store.
* Require builder before fast_xs so we don't tickle its over-eager ↵Jeremy Kemper2008-11-241-1/+2
| | | | String#to_xs collision check
* Revert "Hack builder to look for fast_xs instead of insisting on its own ↵Jeremy Kemper2008-11-241-2/+2
| | | | | | String#to_xs" This reverts commit 5d3712a81e502f46b2745d238d9bb76fcdb31f5b.
* Allow optional arguments and/or block for Object#try like Object#send does. ↵Eloy Duran2008-11-241-2/+7
| | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Autoload cache storesJeremy Kemper2008-11-231-6/+7
|
* Duration requires BasicObject in case it's autoloaded earlyJeremy Kemper2008-11-231-0/+2
|
* Lazy-require tzinfo for TimeZoneJeremy Kemper2008-11-232-0/+2
|
* Lazy-require tempfile for File#atomic_writeJeremy Kemper2008-11-231-2/+2
|
* Lazy-require DRb for ActiveSupport::Cache::DRbStoreJeremy Kemper2008-11-231-3/+2
|
* Lazy-require OpenSSLJeremy Kemper2008-11-231-1/+2
|
* Lazy-require OpenSSL. Skip entirely if SecureRandom is available.Jeremy Kemper2008-11-231-6/+8
|
* Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵Jeremy Kemper2008-11-232-3/+5
| | | | actually used.