Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes a couple of wrong requires | Xavier Noria | 2010-01-01 | 1 | -1/+1 |
| | |||||
* | to_param.rb needs active_support/core_ext/object/to_query | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | |||||
* | extending.rb needs active_support/core_ext/object/blank | Xavier Noria | 2010-01-01 | 1 | -0/+1 |
| | |||||
* | extending.rb needs active_support/core_ext/class/removal because it uses ↵ | Xavier Noria | 2010-01-01 | 1 | -0/+2 |
| | | | | reachable? | ||||
* | Added Object#presence that returns the object if it's #present? otherwise ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -2/+20 |
| | | | | returns nil [DHH/Colin Kelley] | ||||
* | Extract descendents a bit so it can take advantage of Rubinius' __subclasses__. | Yehuda Katz | 2009-12-13 | 1 | -33/+40 |
| | |||||
* | Quick fix for not escaping []s (not ideal) | Joshua Peek | 2009-12-02 | 1 | -1/+1 |
| | |||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 2 | -2/+2 |
| | |||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -17/+0 |
| | |||||
* | Object#instance_variable_defined? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 |
| | |||||
* | Since we require 1.8.7 we don't need to shim instance_exec anymore | Yehuda Katz | 2009-11-07 | 1 | -27/+0 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 3 | -16/+76 |
| | |||||
* | Unify class_inheritable_accessor and extlib_inheritable_accessor and allow ↵ | José Valim | 2009-10-17 | 1 | -1/+7 |
| | | | | responder to be set in the class level. | ||||
* | Merge docrails | Pratik Naik | 2009-07-25 | 1 | -1/+1 |
| | |||||
* | Break up misc Object extensions | Jeremy Kemper | 2009-05-20 | 4 | -80/+85 |
| | |||||
* | Cherry-pick core extensions | Jeremy Kemper | 2009-05-13 | 1 | -0/+3 |
| | |||||
* | Tease out Object#acts_like? behaviors | Jeremy Kemper | 2009-03-28 | 2 | -10/+10 |
| | |||||
* | try is an object extension | Jeremy Kemper | 2009-03-21 | 1 | -0/+36 |
| | |||||
* | blank? and duplicable? are Object extensions | Jeremy Kemper | 2009-03-21 | 2 | -0/+101 |
| | |||||
* | Refactor Object#try to use inheritance. [#1774 state:resolved] | Josh Susser | 2009-01-18 | 1 | -17/+0 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Change Object#try to raise NoMethodError on private methods and always ↵ | Pratik Naik | 2009-01-13 | 1 | -1/+1 |
| | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit] | ||||
* | Object#tap for Ruby < 1.8.7 | Jeremy Kemper | 2009-01-07 | 1 | -0/+15 |
| | |||||
* | Lazy-require CGI for Object#to_query | Jeremy Kemper | 2008-11-26 | 1 | -2/+1 |
| | |||||
* | Allow optional arguments and/or block for Object#try like Object#send does. ↵ | Eloy Duran | 2008-11-24 | 1 | -2/+7 |
| | | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵ | Jeremy Kemper | 2008-11-23 | 1 | -1/+3 |
| | | | | actually used. | ||||
* | Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵ | Pratik Naik | 2008-11-19 | 1 | -0/+13 |
| | | | | Wanstrath] | ||||
* | Merge docrails | Pratik Naik | 2008-10-05 | 1 | -16/+36 |
| | |||||
* | Provide alternate implementation of Object#subclasses_of for JRuby | Nick Sieger | 2008-10-03 | 1 | -12/+33 |
| | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed] | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -5/+0 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Improved Memoizable test coverage and added support for multiple arguments | Joshua Peek | 2008-07-22 | 1 | -0/+5 |
| | |||||
* | Added Object#metaclass | Joshua Peek | 2008-07-15 | 1 | -0/+8 |
| | |||||
* | Remove some Symbol#to_proc usage in runtime code. [#484 state:resolved] | Cheah Chu Yeow | 2008-07-09 | 1 | -1/+1 |
| | |||||
* | Performance: faster Object.subclasses_of | Jeremy Kemper | 2008-06-08 | 1 | -8/+9 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -1/+1 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Alias Object#instance_variable_names to Object#instance_variables for Ruby 1.8.x | Pratik Naik | 2008-04-21 | 1 | -2/+6 |
| | |||||
* | Improve documentation. | Pratik Naik | 2008-04-05 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Improve documentation. | Pratik Naik | 2008-03-26 | 1 | -0/+44 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick ↵ | Jeremy Kemper | 2007-12-28 | 1 | -0/+4 |
| | | | | | | Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Missed commit. References #10395. | Jeremy Kemper | 2007-12-09 | 1 | -0/+14 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8344 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Alias Object#send to send! for Ruby 1.9 forward compatibility. | Jeremy Kemper | 2007-09-27 | 1 | -0/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Object#copy_instance_variables_from Ruby 1.9 compat | Jeremy Kemper | 2007-09-27 | 2 | -15/+15 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Backport Object#instance_variable_defined? for Ruby < 1.8.6. | Jeremy Kemper | 2007-09-27 | 1 | -0/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Object#instance_exec produces fewer garbage methods. | Jeremy Kemper | 2007-09-24 | 1 | -3/+24 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Object.subclasses_of includes anonymous subclasses. | Jeremy Kemper | 2007-09-23 | 1 | -7/+11 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7590 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Some 1.9 forward compatibility | Jeremy Kemper | 2007-09-14 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON ↵ | Sam Stephenson | 2007-03-18 | 2 | -18/+9 |
| | | | | | | decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Increase test coverage for subclasses_of. Closes #7335. | Nicholas Seckar | 2007-01-24 | 1 | -5/+5 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Better docs for Object extensions (closes #7002) | Jamis Buck | 2007-01-22 | 1 | -1/+21 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6011 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Add Object#acts_like? and Time#acts_like_time? and Date#acts_like_date? to ↵ | Jamis Buck | 2007-01-15 | 1 | -0/+9 |
| | | | | | | facilitate duck-typing git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5951 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |