Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | prefer ends_with? over slicing | Xavier Noria | 2011-08-16 | 1 | -1/+2 |
| | |||||
* | Fix tzinfo require (it broke ↵ | Jon Leighton | 2011-08-16 | 1 | -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 Leighton | 2011-08-16 | 1 | -2/+13 |
| | | | | about 10%. (#734) | ||||
* | Added Array#prepend as an alias for Array#unshift and Array#append as an ↵ | David Heinemeier Hansson | 2011-08-15 | 4 | -0/+20 |
| | | | | alias for Array#<< [DHH] | ||||
* | Requiring delegate. | Arun Agrawal | 2011-08-16 | 1 | -0/+1 |
| | |||||
* | Removing unnecessary require, solve 'circular require considered harmful' ↵ | Jon Leighton | 2011-08-16 | 1 | -2/+0 |
| | | | | warning. | ||||
* | Document Object#public_send | Jon Leighton | 2011-08-15 | 1 | -1/+1 |
| | |||||
* | Add a test for delegating a method ending in '=' as this is a special case. | Jon Leighton | 2011-08-15 | 2 | -0/+9 |
| | |||||
* | Need to include public_send | Arun Agrawal | 2011-08-15 | 1 | -0/+1 |
| | |||||
* | Split up the definitions in Module#delegate depending on :allow_nil, and ↵ | Jon Leighton | 2011-08-15 | 2 | -17/+34 |
| | | | | don't use exceptions for flow control in the :allow_nil => true case. | ||||
* | Fix the line number in the backtrace when Module#delegate raises | Jon Leighton | 2011-08-15 | 2 | -2/+14 |
| | |||||
* | Just do the method call directly in Module#delegate, if we can (we cannot ↵ | Jon Leighton | 2011-08-15 | 3 | -4/+27 |
| | | | | 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 Leighton | 2011-08-15 | 3 | -0/+143 |
| | | | | such that non-public methods raise | ||||
* | Merge branch 'master' of github.com:lifo/docrails | Xavier Noria | 2011-08-13 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | | | | | Conflicts: RELEASING_RAILS.rdoc actionpack/lib/sprockets/railtie.rb actionpack/test/template/sprockets_helper_test.rb activerecord/test/cases/calculations_test.rb railties/guides/source/3_1_release_notes.textile railties/guides/source/active_resource_basics.textile railties/guides/source/command_line.textile | ||||
| * | Rubygems => RubyGems | Sukeerthi Adiga | 2011-08-13 | 1 | -1/+1 |
| | | |||||
| * | fixing assert_difference issues on ruby 1.8 | Aaron Patterson | 2011-08-13 | 1 | -6/+7 |
| | | |||||
| * | make assert_difference error message not suck | Aaron Patterson | 2011-08-13 | 1 | -5/+6 |
| | | |||||
| * | Pass options in ActiveSupport::Cache::CacheStore#read_multi through to the ↵ | Brian Durand | 2011-08-13 | 2 | -1/+9 |
| | | | | | | | | delete_entry call. | ||||
| * | Remove unnecessary require (happened after fcbde454f6) | Dmitriy Kiriyenko | 2011-08-13 | 1 | -2/+0 |
| | | |||||
| * | Removing extra requires from the test. Already loaded in abstract_unit. | Arun Agrawal | 2011-08-13 | 5 | -5/+0 |
| | | |||||
| * | remove_possible_method: test if method exists | Brad Ediger | 2011-08-13 | 1 | -2/+7 |
| | | | | | | | | | | | | | | This speeds up remove_possible_method substantially since it doesn't have to rescue a NameError in the common case. Closes #2346. | ||||
| * | Change ActiveSupport::Cache behavior to always return duplicate objects ↵ | Brian Durand | 2011-08-13 | 2 | -22/+18 |
| | | | | | | | | instead of frozen objects. | ||||
| * | delay backtrace scrubbing until we actually raise an exception. fixes #1936 | Aaron Patterson | 2011-08-13 | 1 | -7/+4 |
| | | |||||
| * | Reset @dirty to false when slicing an instance of SafeBuffer | Brian Cardarella | 2011-08-13 | 2 | -0/+12 |
| | | |||||
| * | Replace unnecessary regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-08-13 | 1 | -2/+1 |
| | | |||||
| * | Constantize a regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-08-13 | 1 | -1/+2 |
| | | |||||
| * | remove unused variables warnings removed | Vishnu Atrai | 2011-08-13 | 1 | -2/+0 |
| | | |||||
| * | fixing tests on ruby trunk | Aaron Patterson | 2011-08-13 | 1 | -1/+1 |
| | | |||||
| * | fixing whitespace errors | Aaron Patterson | 2011-08-13 | 1 | -9/+9 |
| | | |||||
| * | The trailing '/' isn't being picked up by Github anyway, and the link works ↵ | Rashmi Yadav | 2011-08-13 | 1 | -1/+1 |
| | | | | | | | | as is. | ||||
* | | backporting IO#binread for 1.8 users | Aaron Patterson | 2011-08-08 | 2 | -0/+38 |
| | | |||||
* | | Added irregular zombie inflection, so zombies no longer gets singularized ↵ | Gregg Pollack | 2011-08-07 | 1 | -0/+1 |
| | | | | | | | | into zomby | ||||
* | | Merge pull request #2450 from guilleiguaran/activesupport-gzip-1.8 | Santiago Pastorino | 2011-08-06 | 1 | -0/+1 |
|\ \ | | | | | | | Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416 | ||||
| * | | Fix ActiveSupport::Gzip under Ruby 1.8.7. Closes #2416 | Guillermo Iguaran | 2011-08-06 | 1 | -0/+1 |
| | | | |||||
* | | | Refactored to more closely resemble idiom applied for on_nil | Evan Light | 2011-08-05 | 1 | -5/+11 |
|/ / | |||||
* | | Fix AR test suite error under Rubinius 2.0 | Guillermo Iguaran | 2011-08-05 | 1 | -0/+1 |
| | | |||||
* | | The trailing '/' isn't being picked up by Github anyway, and the link works ↵ | Rashmi Yadav | 2011-08-04 | 1 | -1/+1 |
| | | | | | | | | as is. | ||||
* | | fixing assert_difference issues on ruby 1.8 | Aaron Patterson | 2011-08-04 | 1 | -6/+7 |
| | | |||||
* | | make assert_difference error message not suck | Aaron Patterson | 2011-08-03 | 1 | -5/+6 |
| | | |||||
* | | Merge pull request #2393 from bdurand/fix_cache_read_multi | Santiago Pastorino | 2011-08-01 | 2 | -1/+9 |
|\ \ | | | | | | | Fix ArgumentError in ActiveSupport::Cache::CacheStore.read_multi | ||||
| * | | Pass options in ActiveSupport::Cache::CacheStore#read_multi through to the ↵ | Brian Durand | 2011-08-01 | 2 | -1/+9 |
| | | | | | | | | | | | | delete_entry call. | ||||
* | | | Remove unnecessary require (happened after fcbde454f6) | Dmitriy Kiriyenko | 2011-08-01 | 1 | -2/+0 |
| | | | |||||
* | | | Removing extra requires from the test. Already loaded in abstract_unit. | Arun Agrawal | 2011-07-31 | 5 | -5/+0 |
| | | | |||||
* | | | remove_possible_method: test if method exists | Brad Ediger | 2011-07-31 | 1 | -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_entries | Aaron Patterson | 2011-07-29 | 2 | -22/+18 |
|\ \ \ | | | | | | | | | Change ActiveSupport::Cache behavior to not return frozen objects | ||||
| * | | | Change ActiveSupport::Cache behavior to always return duplicate objects ↵ | Brian Durand | 2011-07-29 | 2 | -22/+18 |
| |/ / | | | | | | | | | | instead of frozen objects. | ||||
* | | | delay backtrace scrubbing until we actually raise an exception. fixes #1936 | Aaron Patterson | 2011-07-29 | 1 | -7/+4 |
| | | | |||||
* | | | Reset @dirty to false when slicing an instance of SafeBuffer | Brian Cardarella | 2011-07-29 | 2 | -0/+12 |
|/ / | |||||
* | | Merge pull request #2291 from jdelStrother/load_missing_constant | Aaron Patterson | 2011-07-26 | 1 | -2/+1 |
|\ \ | | | | | | | Replace unnecessary regexp in Dependencies#load_missing_constant | ||||
| * | | Replace unnecessary regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-07-27 | 1 | -2/+1 |
| | | |