aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support
Commit message (Collapse)AuthorAgeFilesLines
...
| * delay backtrace scrubbing until we actually raise an exception. fixes #1936Aaron Patterson2011-08-131-7/+4
| |
| * Reset @dirty to false when slicing an instance of SafeBufferBrian Cardarella2011-08-131-0/+6
| |
| * Replace unnecessary regexp in Dependencies#load_missing_constantJonathan del Strother2011-08-131-2/+1
| |
| * Constantize a regexp in Dependencies#load_missing_constantJonathan del Strother2011-08-131-1/+2
| |
* | prefer ends_with? over slicingXavier Noria2011-08-161-1/+2
| |
* | Fix tzinfo require (it broke ↵Jon Leighton2011-08-161-6/+13
| | | | | | | | test_raises_when_an_invalid_timezone_is_defined_in_the_config in railties)
* | Be more lazy about creating time zone objects. Decreases startup time by ↵Jon Leighton2011-08-161-2/+13
| | | | | | | | about 10%. (#734)
* | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵David Heinemeier Hansson2011-08-152-0/+8
| | | | | | | | alias for Array#<< [DHH]
* | Removing unnecessary require, solve 'circular require considered harmful' ↵Jon Leighton2011-08-161-2/+0
| | | | | | | | warning.
* | Document Object#public_sendJon Leighton2011-08-151-1/+1
| |
* | Add a test for delegating a method ending in '=' as this is a special case.Jon Leighton2011-08-151-0/+1
| |
* | Need to include public_sendArun Agrawal2011-08-151-0/+1
| |
* | Split up the definitions in Module#delegate depending on :allow_nil, and ↵Jon Leighton2011-08-151-17/+22
| | | | | | | | don't use exceptions for flow control in the :allow_nil => true case.
* | Fix the line number in the backtrace when Module#delegate raisesJon Leighton2011-08-151-1/+1
| |
* | Just do the method call directly in Module#delegate, if we can (we cannot ↵Jon Leighton2011-08-151-1/+4
| | | | | | | | for method names ending in '='). Two reasons: 1) it's faster, see https://gist.github.com/1089783 and 2) more importantly, delegate should not allow you to accidentally call private or protected methods.
* | Backport Object#public_send to 1.8 so that we can implement Module#delegate ↵Jon Leighton2011-08-152-0/+26
| | | | | | | | such that non-public methods raise
* | backporting IO#binread for 1.8 usersAaron Patterson2011-08-081-0/+15
| |
* | Added irregular zombie inflection, so zombies no longer gets singularized ↵Gregg Pollack2011-08-071-0/+1
| | | | | | | | into zomby
* | Merge pull request #2450 from guilleiguaran/activesupport-gzip-1.8Santiago Pastorino2011-08-061-0/+1
|\ \ | | | | | | Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416
| * | Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416Guillermo Iguaran2011-08-061-0/+1
| | |
* | | Refactored to more closely resemble idiom applied for on_nilEvan Light2011-08-051-5/+11
|/ /
* | Fix AR test suite error under Rubinius 2.0Guillermo Iguaran2011-08-051-0/+1
| |
* | fixing assert_difference issues on ruby 1.8Aaron Patterson2011-08-041-6/+7
| |
* | make assert_difference error message not suckAaron Patterson2011-08-031-5/+6
| |
* | Merge pull request #2393 from bdurand/fix_cache_read_multiSantiago Pastorino2011-08-011-1/+1
|\ \ | | | | | | Fix ArgumentError in ActiveSupport::Cache::CacheStore.read_multi
| * | Pass options in ActiveSupport::Cache::CacheStore#read_multi through to the ↵Brian Durand2011-08-011-1/+1
| | | | | | | | | | | | delete_entry call.
* | | Remove unnecessary require (happened after fcbde454f6)Dmitriy Kiriyenko2011-08-011-2/+0
| | |
* | | remove_possible_method: test if method existsBrad Ediger2011-07-311-2/+7
| | | | | | | | | | | | | | | | | | | | | This speeds up remove_possible_method substantially since it doesn't have to rescue a NameError in the common case. Closes #2346.
* | | Merge pull request #2353 from bdurand/no_freeze_cache_entriesAaron Patterson2011-07-291-15/+8
|\ \ \ | | | | | | | | Change ActiveSupport::Cache behavior to not return frozen objects
| * | | Change ActiveSupport::Cache behavior to always return duplicate objects ↵Brian Durand2011-07-291-15/+8
| |/ / | | | | | | | | | instead of frozen objects.
* | | delay backtrace scrubbing until we actually raise an exception. fixes #1936Aaron Patterson2011-07-291-7/+4
| | |
* | | Reset @dirty to false when slicing an instance of SafeBufferBrian Cardarella2011-07-291-0/+6
|/ /
* | Replace unnecessary regexp in Dependencies#load_missing_constantJonathan del Strother2011-07-271-2/+1
| |
* | Constantize a regexp in Dependencies#load_missing_constantJonathan del Strother2011-07-261-1/+2
|/
* Use shorter class-level File methods instead of going through File.stat.thedarkone2011-07-251-1/+1
|
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-242-3/+3
|\
| * Changed a few instances of of words in the API docs written in British ↵Oemuer Oezkir2011-07-242-3/+3
| | | | | | | | | | | | English to American English(according to Weber)
* | simplify singleton_class? methodAaron Patterson2011-07-231-7/+1
| |
* | Fix ActiveSupport::Cache::FileStore#file_path_key does not work if ↵Gonzalo Rodriguez2011-07-231-1/+1
| | | | | | | | | | | | initialized with Pathname Port from 3-1-stable
* | Remove unneccesary map chainingGuillermo Iguaran2011-07-231-1/+1
| |
* | Trivial optimization for Enumerable#each_with_objectMarc-Andre Lafortune2011-07-231-2/+2
| |
* | Insure that Enumerable#index_by, group_by, ... return EnumeratorsMarc-Andre Lafortune2011-07-231-0/+3
| |
* | Make Enumerable#many? iterate only over what is necessaryMarc-Andre Lafortune2011-07-231-3/+10
| |
* | Make Enumerable#many? not rely on #sizeMarc-Andre Lafortune2011-07-231-2/+2
| |
* | adds a couple of missing magic comments [fixes #1374]Xavier Noria2011-07-232-0/+2
|/
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-232-4/+5
|\
| * documentation fix: wrong resultAkira Matsuda2011-07-131-2/+1
| |
| * Add more examples to #titleizePol Llovet2011-07-091-2/+4
| |
* | missing require of string/encoding to have access to encoding_aware?Damien Mathieu2011-07-201-0/+1
| |
* | fix String#blank? on binary strings.Damien Mathieu2011-07-201-1/+6
| |