Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split up the definitions in Module#delegate depending on :allow_nil, and ↵ | Jon Leighton | 2011-08-15 | 1 | -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 raises | Jon Leighton | 2011-08-15 | 1 | -1/+1 |
| | |||||
* | Just do the method call directly in Module#delegate, if we can (we cannot ↵ | Jon Leighton | 2011-08-15 | 1 | -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 Leighton | 2011-08-15 | 2 | -0/+26 |
| | | | | such that non-public methods raise | ||||
* | backporting IO#binread for 1.8 users | Aaron Patterson | 2011-08-08 | 1 | -0/+15 |
| | |||||
* | 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 |
| | |||||
* | 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 | 1 | -1/+1 |
|\ | | | | | Fix ArgumentError in ActiveSupport::Cache::CacheStore.read_multi | ||||
| * | Pass options in ActiveSupport::Cache::CacheStore#read_multi through to the ↵ | Brian Durand | 2011-08-01 | 1 | -1/+1 |
| | | | | | | | | delete_entry call. | ||||
* | | Remove unnecessary require (happened after fcbde454f6) | Dmitriy Kiriyenko | 2011-08-01 | 1 | -2/+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 | 1 | -15/+8 |
|\ \ | | | | | | | Change ActiveSupport::Cache behavior to not return frozen objects | ||||
| * | | Change ActiveSupport::Cache behavior to always return duplicate objects ↵ | Brian Durand | 2011-07-29 | 1 | -15/+8 |
| |/ | | | | | | | 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 | 1 | -0/+6 |
|/ | |||||
* | Replace unnecessary regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-07-27 | 1 | -2/+1 |
| | |||||
* | Constantize a regexp in Dependencies#load_missing_constant | Jonathan del Strother | 2011-07-26 | 1 | -1/+2 |
| | |||||
* | Use shorter class-level File methods instead of going through File.stat. | thedarkone | 2011-07-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-24 | 2 | -3/+3 |
|\ | |||||
| * | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 2 | -3/+3 |
| | | | | | | | | | | | | English to American English(according to Weber) | ||||
* | | simplify singleton_class? method | Aaron Patterson | 2011-07-23 | 1 | -7/+1 |
| | | |||||
* | | Fix ActiveSupport::Cache::FileStore#file_path_key does not work if ↵ | Gonzalo Rodriguez | 2011-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | | initialized with Pathname Port from 3-1-stable | ||||
* | | Remove unneccesary map chaining | Guillermo Iguaran | 2011-07-23 | 1 | -1/+1 |
| | | |||||
* | | Trivial optimization for Enumerable#each_with_object | Marc-Andre Lafortune | 2011-07-23 | 1 | -2/+2 |
| | | |||||
* | | Insure that Enumerable#index_by, group_by, ... return Enumerators | Marc-Andre Lafortune | 2011-07-23 | 1 | -0/+3 |
| | | |||||
* | | Make Enumerable#many? iterate only over what is necessary | Marc-Andre Lafortune | 2011-07-23 | 1 | -3/+10 |
| | | |||||
* | | Make Enumerable#many? not rely on #size | Marc-Andre Lafortune | 2011-07-23 | 1 | -2/+2 |
| | | |||||
* | | adds a couple of missing magic comments [fixes #1374] | Xavier Noria | 2011-07-23 | 2 | -0/+2 |
|/ | |||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-23 | 2 | -4/+5 |
|\ | |||||
| * | documentation fix: wrong result | Akira Matsuda | 2011-07-13 | 1 | -2/+1 |
| | | |||||
| * | Add more examples to #titleize | Pol Llovet | 2011-07-09 | 1 | -2/+4 |
| | | |||||
* | | missing require of string/encoding to have access to encoding_aware? | Damien Mathieu | 2011-07-20 | 1 | -0/+1 |
| | | |||||
* | | fix String#blank? on binary strings. | Damien Mathieu | 2011-07-20 | 1 | -1/+6 |
| | | |||||
* | | Don't do remove_possible_method when delegate is used. Two reasons: 1) ↵ | Jon Leighton | 2011-07-18 | 1 | -4/+0 |
| | | | | | | | | warnings should be shown, and fixed at the source and 2) the code is slow. Fixes #1937. | ||||
* | | need magic comments | Akira Matsuda | 2011-07-14 | 1 | -0/+2 |
| | | |||||
* | | treat fullwidth whitespace as a blank character | Akira Matsuda | 2011-07-14 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #1756 from shtirlic/xmlschema_fix | José Valim | 2011-07-11 | 1 | -1/+1 |
|\ \ | | | | | | | Fix xmlschema output with fraction_digits >0 | ||||
| * | | Fix xmlschema output with fraction_digits >0 | shtirlic | 2011-07-11 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | Current implementation produce incorrect output when Time#usec returns integer < 100000, because to_s doesn't add leading zeros. | ||||
* | | | Merge pull request #2032 from dziulius/master | Xavier Noria | 2011-07-11 | 1 | -1/+1 |
|\ \ \ | |/ / |/| | | #many? - uses count instead of select | ||||
| * | | #many? uses count instead of select - a bit faster | Julius Markūnas | 2011-07-11 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #1608 from sishen/sishen | José Valim | 2011-07-11 | 1 | -0/+8 |
|\ \ \ | |/ / |/| | | MemcacheStore: deserialize the entry reading from local_cache when using | ||||
| * | | MemcacheStore: deserialize the entry reading from local_cache when using raw | Dingding Ye | 2011-06-10 | 1 | -0/+8 |
| | | | |||||
* | | | Merge pull request #1296 from c42engineering/issue636 | José Valim | 2011-07-11 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | Resubmitting issue #636 as a pull request | ||||
| * | | Issue #636 - Parsing an xml file with multiple records and extra attributes ↵ | Sidu Ponnappa | 2011-07-11 | 1 | -1/+1 |
| | | | | | | | | | | | | (besides type) fails | ||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-09 | 1 | -0/+2 |
|\ \ \ |