Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Documented String#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+7 | |
| | | ||||||
| * | Documented Hash#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+6 | |
| | | ||||||
| * | Documented Array#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+6 | |
| | | ||||||
| * | Documented TrueClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 | |
| | | ||||||
| * | Documented FalseClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 | |
| | | ||||||
| * | Documented NilClass#blank? | Sebastian Martinez | 2011-04-17 | 1 | -1/+5 | |
| | | ||||||
* | | Only rescue a thrown NoMethodError, don't preemptively check for #include?; ↵ | Jared McFarland | 2011-04-15 | 1 | -1/+4 | |
| | | | | | | | | added tests | |||||
* | | added an exception to Object#in? to match the methods documentation | Jared McFarland | 2011-04-15 | 1 | -0/+1 | |
| | | ||||||
* | | Remove `#among?` from Active Support | Prem Sichanugrist | 2011-04-13 | 1 | -9/+0 | |
|/ | | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`. | |||||
* | Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵ | David Heinemeier Hansson | 2011-04-12 | 1 | -2/+2 | |
| | | | | suggestion! | |||||
* | Add support for Object#in? and Object#either? in Active Support [#6321 ↵ | Prem Sichanugrist, Brian Morearty, John Reitano | 2011-04-11 | 1 | -0/+20 | |
| | | | | | | | | | | | | state:committed] This will allow you to check if an object is included in another object or the list of objects or not. This patch is derived from patch by Brian Morearty and John Reitano on Lighthouse ticket. I've rewrite it and make sure that we support both 'another object' and 'list of objects' version, as it surely be useful to support both. | |||||
* | reorganizes the RDoc of Hash#to_param | Xavier Noria | 2011-03-07 | 1 | -6/+14 | |
| | ||||||
* | Improved docs for Hash#to_param method | Dalibor Nasevic | 2011-03-06 | 1 | -3/+2 | |
| | ||||||
* | removes merge conflicts | Xavier Noria | 2011-03-06 | 1 | -4/+0 | |
| | ||||||
* | merges rails | Xavier Noria | 2011-03-05 | 1 | -0/+4 | |
|\ | ||||||
| * | copy-edits 108561f | Xavier Noria | 2011-03-05 | 1 | -1/+1 | |
| | | ||||||
| * | Active Support typos. | R.T. Lechow | 2011-03-05 | 1 | -1/+1 | |
| | | ||||||
| * | 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 | |
| |