Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use map, no need to use inject here. | Emilio Tagua | 2010-09-22 | 1 | -4/+1 |
| | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com> | ||||
* | Remove dummy method definition in favor of RDoc hints: | Aaron Patterson | 2010-09-11 | 1 | -7/+5 |
| | | | | http://rdoc.rubyforge.org/RDoc/Parser/Ruby.html | ||||
* | Object#returning has gone, it's already deprecated on 3-0-stable | Santiago Pastorino | 2010-08-15 | 1 | -43/+0 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 3 | -8/+8 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Bring returning back to ease migration. | José Valim | 2010-08-02 | 1 | -0/+43 |
| | |||||
* | Object#returning removed | Santiago Pastorino | 2010-07-25 | 2 | -44/+0 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Hash#to_param is doesn't use sort anymore, some tests added for Hash#to_param | Santiago Pastorino | 2010-07-22 | 1 | -1/+1 |
| | |||||
* | Define a convention for descendants and subclasses. | José Valim | 2010-07-05 | 1 | -11/+0 |
| | | | | | | The former should be symmetric with ancestors and include all children. However, it should not include self since ancestors + descendants should not have duplicated. The latter is symmetric to superclass in the sense it only includes direct children. By adopting a convention, we expect to have less conflict with other frameworks, as Datamapper. For this moment, to ensure ActiveModel::Validations can be used with Datamapper, we should always call ActiveSupport::DescendantsTracker.descendants(self) internally instead of self.descendants avoiding conflicts. | ||||
* | AS json refactor, move to_json implementation to core_ext and a cleanup a ↵ | Santiago Pastorino | 2010-07-01 | 1 | -0/+19 |
| | | | | bit the code | ||||
* | remove executable permission from files that don't need it. [#4802 ↵ | rohit | 2010-06-20 | 1 | -0/+0 |
| | | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | A small rdoc change made on lines 39 and 41 on ↵ | jacortinas | 2010-05-25 | 1 | -2/+2 |
| | | | | activesupport/lib/active_support/core_ext/object/to_param.rb. It looks like the method name might have been changed, and the comments were never changed to coincide with the new method name. | ||||
* | Add missing require to with_options [#4601 state:resolved] | Carlos Antonio da Silva | 2010-05-15 | 1 | -0/+2 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | moves Object#singleton_class to Kernel#singleton_class to match Ruby also ↵ | Xavier Noria | 2010-04-05 | 1 | -13/+0 |
| | | | | there, same for #class_eval to simplify, and adds coverage for class_eval | ||||
* | metaclass deprecated in 2.3.6 | Jeremy Kemper | 2010-02-25 | 1 | -14/+0 |
| | |||||
* | Missed singleton_class | Jeremy Kemper | 2010-02-25 | 1 | -0/+13 |
| | |||||
* | Use Object#singleton_class instead of #metaclass. Prefer Ruby's choice. | Jeremy Kemper | 2010-02-25 | 1 | -5/+6 |
| | |||||
* | Reinstate Object.subclasses_of and Class#descendents for plugin compat. | Jeremy Kemper | 2010-02-09 | 1 | -0/+11 |
| | | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70 | ||||
* | removes now void extending.rb | Xavier Noria | 2010-01-26 | 1 | -4/+0 |
| | |||||
* | removes Object#extended_by | Xavier Noria | 2010-01-26 | 1 | -4/+0 |
| | |||||
* | removes unused method Object#extend_with_included_modules_from | Xavier Noria | 2010-01-26 | 1 | -4/+0 |
| | |||||
* | deletes no void files removal.rb and class_test.rb | Xavier Noria | 2010-01-26 | 1 | -1/+0 |
| | |||||
* | removes unused Class#descedents | Xavier Noria | 2010-01-26 | 1 | -34/+0 |
| | |||||
* | removes unused Object#subclasses_of | Xavier Noria | 2010-01-26 | 1 | -12/+0 |
| | |||||
* | removes unused Object#remove_subclasses_of | Xavier Noria | 2010-01-26 | 1 | -4/+0 |
| | |||||
* | Merge docrails | Pratik Naik | 2010-01-17 | 1 | -0/+16 |
| | |||||
* | 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. |