Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Adds link to Object.blank? from Object.present? | Jonathon D. Jones | 2011-03-05 | 1 | -1/+1 | |
| | | ||||||
* | | Active Support typos. | R.T. Lechow | 2011-03-04 | 1 | -1/+1 | |
| | | ||||||
* | | Adds link to Object.blank? from Object.present? | Jonathon D. Jones | 2011-03-03 | 1 | -1/+1 | |
|/ | ||||||
* | Add a forgotten word. | Ben Orenstein | 2011-02-19 | 1 | -1/+1 | |
| | ||||||
* | Add a clearer example for with_options (lifted from the Active Support guide). | Ben Orenstein | 2011-02-19 | 1 | -5/+19 | |
| | ||||||
* | :method: is not needed when RDoc can detect it | Santiago Pastorino | 2010-12-02 | 1 | -5/+0 | |
| | ||||||
* | Revert "Quick fix for not escaping []s (not ideal)" | Santiago Pastorino | 2010-11-18 | 2 | -5/+3 | |
| | | | | | | | | | According to http://www.ietf.org/rfc/rfc2616.txt and http://tools.ietf.org/rfc/rfc3986.txt [ and ] are reserved characters and should be escaped using "%" HEX HEX This reverts commit 856d2fd874d72dd9f83204affff4edfef3308361 and 1ee9b40b18a0bed5bb10a0785f7e2730bac983f6.. | |||||
* | Add support for try to just yield the object to a block if no method is to ↵ | raggi | 2010-11-14 | 1 | -1/+13 | |
| | | | | be called. Kind of like a tap_if_present. | |||||
* | Remove unused method | Santiago Pastorino | 2010-11-10 | 1 | -31/+0 | |
| | ||||||
* | revises RDoc of Hash#to_param to be more precise about ordering | Xavier Noria | 2010-09-28 | 1 | -2/+2 | |
| | ||||||
* | let Hash#to_param and Hash#to_query sort again | Xavier Noria | 2010-09-28 | 1 | -2/+3 | |
| | | | | | This was a regression introduced in 5c858220085dc4ddc1bec496747059dfbe32f1da. We bring sorting back because people rely on it, eg for constructing consistent cache keys. | |||||
* | 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 | |
| |