Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | 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 | |
| | | ||||||
* | | 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 | |
| | | ||||||
* | | 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. | |||||
* | | Reset @dirty to false when slicing an instance of SafeBuffer | Brian Cardarella | 2011-07-29 | 1 | -0/+6 | |
|/ | ||||||
* | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-24 | 1 | -1/+1 | |
|\ | ||||||
| * | Changed a few instances of of words in the API docs written in British ↵ | Oemuer Oezkir | 2011-07-24 | 1 | -1/+1 | |
| | | | | | | | | | | | | English to American English(according to Weber) | |||||
* | | simplify singleton_class? method | Aaron Patterson | 2011-07-23 | 1 | -7/+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 | 1 | -0/+1 | |
|/ | ||||||
* | 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 | |
| | ||||||
* | #many? uses count instead of select - a bit faster | Julius Markūnas | 2011-07-11 | 1 | -1/+1 | |
| | ||||||
* | 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 pull request #1463 from psanford/master | Santiago Pastorino | 2011-07-06 | 1 | -2/+2 | |
|\ \ | | | | | | | Fix timezone handling in String.to_time | |||||
| * | | Make String.to_time respect timezones | Nate Mueller | 2011-06-02 | 1 | -2/+2 | |
| | | | ||||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-07-05 | 1 | -8/+8 | |
|\ \ \ | ||||||
| * | | | document meta methods | Vijay Dev | 2011-07-03 | 1 | -8/+8 | |
| | | | | ||||||
* | | | | all numerics should be html_safe - Closes #1935 | Damien Mathieu | 2011-07-03 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | Merge pull request #1690 from vijaydev/mattr_accessor_changes | José Valim | 2011-06-30 | 1 | -2/+6 | |
|\ \ \ \ | | | | | | | | | | | Added instance_accessor: false to Module#mattr_accessor | |||||
| * | | | | Added instance_accessor: false to Module#mattr_accessor | Vijay Dev | 2011-06-14 | 1 | -2/+6 | |
| | | | | | ||||||
* | | | | | Array.wrap should follow Kernel#Array semantics when the object's to_ary is ↵ | Jon Leighton | 2011-06-30 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | nil. In this case, the object should be wrapped. | |||||
* | | | | | Merge pull request #1648 from dlee/acronyms | Xavier Noria | 2011-06-24 | 1 | -1/+0 | |
|\ \ \ \ \ | |_|/ / / |/| | | | | Inflector support for acronyms (Issue #1366) | |||||
| * | | | | Refactor | David Lee | 2011-06-11 | 1 | -1/+0 | |
| | | | | | ||||||
* | | | | | Merge pull request #1750 from dmathieu/non_string_methods | Xavier Noria | 2011-06-22 | 1 | -2/+2 | |
|\ \ \ \ \ | | | | | | | | | | | | | Calling unsafe methods which don't return a string shouldn't fail | |||||
| * | | | | | calling unsafe methods which don't return a string shouldn't fail | Damien Mathieu | 2011-06-22 | 1 | -2/+2 | |
| | | | | | | ||||||
* | | | | | | Ugh, the class_attribute pull request broke the build. fix it. | José Valim | 2011-06-19 | 1 | -7/+4 | |
| | | | | | | ||||||
* | | | | | | Add option to omit creating an instance reader method on class_attribute | James Miller | 2011-06-18 | 1 | -7/+20 | |
| | | | | | | ||||||
* | | | | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-18 | 1 | -1/+1 | |
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | ||||||
| * | | | | | with -> will | Uģis Ozols | 2011-06-12 | 1 | -1/+1 | |
| |/ / / / | ||||||
* | | | | | safe_concat should not work on dirty buffers. | José Valim | 2011-06-16 | 1 | -4/+13 | |
| | | | | | ||||||
* | | | | | Fix safe buffer by adding a dirty status. | José Valim | 2011-06-16 | 1 | -12/+24 | |
| |/ / / |/| | | | ||||||
* | | | | Rename Time#whole_* to Time#all_* [thanks Pratik!] | David Heinemeier Hansson | 2011-06-13 | 1 | -5/+5 | |
| | | | | ||||||
* | | | | Added Time#whole_day/week/quarter/year as a way of generating ranges ↵ | David Heinemeier Hansson | 2011-06-13 | 1 | -1/+26 | |
| | | | | | | | | | | | | | | | | (example: Event.where(created_at: Time.now.whole_week)) [DHH] | |||||
* | | | | Added instance_accessor: false as an option to Class#cattr_accessor and ↵ | David Heinemeier Hansson | 2011-06-13 | 1 | -2/+3 | |
| | | | | | | | | | | | | | | | | friends [DHH] | |||||
* | | | | Define ActiveSupport#to_param as to_str - closes #1663 | Andrew White | 2011-06-12 | 1 | -0/+4 | |
|/ / / | ||||||
* | | | Merge branch 'master' of git://github.com/lifo/docrails | Xavier Noria | 2011-06-11 | 1 | -1/+1 | |
|\ \ \ | ||||||
| * | | | Fixed minor typo: 'Arraw' to 'Array' | thoefer | 2011-06-11 | 1 | -1/+1 | |
| | | | | ||||||
* | | | | ensuring that json_escape returns html safe strings when passed an html safe ↵ | Aaron Patterson | 2011-06-09 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | | | string | |||||
* | | | | Merge pull request #1579 from bradleybuda/master | José Valim | 2011-06-08 | 1 | -4/+6 | |
|\ \ \ \ | | | | | | | | | | | Date#freeze fails when called more than once in 1.8 |