Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moves Class#reachable? to Module#reachable?, bases implementation on ↵ | Xavier Noria | 2010-02-11 | 1 | -0/+41 |
| | | | | anonymous? and constantize, and adds test coverage | ||||
* | defines Module#anonymous? | Xavier Noria | 2010-02-11 | 1 | -0/+14 |
| | |||||
* | Reinstate Object.subclasses_of and Class#descendents for plugin compat. | Jeremy Kemper | 2010-02-09 | 2 | -0/+79 |
| | | | | This reverts commits 7d312e54bad9c39634c137caec07dfc8df471650, 5f981ff0294ba45aa44ad15aa063970b29aeec44, f85f5dfc8ffefff174b695c6363211d342f77a57, 245bfafe335ff883f7a096eab95ac22fe2848679, and ec7c642f5fe60afc857aa64f1a9b4c2be56f9d70 | ||||
* | removes Module#as_load_path, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -5/+0 |
| | |||||
* | removes Module#included_in_classes, which is no longer used | Xavier Noria | 2010-02-07 | 1 | -7/+0 |
| | |||||
* | Fixed html_safe test cases which weren't testing correctly | Santiago Pastorino and José Ignacio Costa | 2010-02-05 | 1 | -17/+20 |
| | | | | | | [#3845 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Introduce class_attribute to declare inheritable class attributes. Writing ↵ | Jeremy Kemper | 2010-02-01 | 1 | -0/+47 |
| | | | | an attribute on a subclass behaves just like overriding the superclass reader method. Unifies and replaces most usage of cattr_accessor, class_inheritable_attribute, superclass_delegating_attribute, and extlib_inheritable_attribute. | ||||
* | For performance reasons, you can no longer call html_safe! on Strings. ↵ | Yehuda Katz | 2010-01-31 | 1 | -33/+34 |
| | | | | | | | | | | | | Instead, all Strings are always not html_safe?. Instead, you can get a SafeBuffer from a String by calling #html_safe, which will SafeBuffer.new(self). * Additionally, instead of doing concat("</form>".html_safe), you can do safe_concat("</form>"), which will skip both the flag set, and the flag check. * For the first pass, I converted virtually all #html_safe!s to #html_safe, and the tests pass. A further optimization would be to try to use #safe_concat as much as possible, reducing the performance impact if we know up front that a String is safe. | ||||
* | superclass_delegating_accessor rewritten to serve as the base for many other ↵ | Yehuda Katz | 2010-01-29 | 1 | -34/+0 |
| | | | | kinds of accessors (step 1 of unification) | ||||
* | Ensure test sets json time format flag | Jeremy Kemper | 2010-01-28 | 1 | -1/+4 |
| | |||||
* | Time#- with a DateTime argument behaves the same as with a Time argument, ↵ | Geoff Buesing | 2010-01-27 | 1 | -0/+4 |
| | | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved] | ||||
* | Merge remote branch 'fxn/master' | Jeremy Kemper | 2010-01-26 | 2 | -140/+0 |
|\ | |||||
| * | removes Object#extended_by | Xavier Noria | 2010-01-26 | 1 | -7/+0 |
| | | |||||
| * | removes unused method Object#extend_with_included_modules_from | Xavier Noria | 2010-01-26 | 1 | -15/+0 |
| | | |||||
| * | deletes no void files removal.rb and class_test.rb | Xavier Noria | 2010-01-26 | 2 | -21/+0 |
| | | |||||
| * | removes unused method Class#remove_class | Xavier Noria | 2010-01-26 | 1 | -17/+0 |
| | | |||||
| * | removes unused Object#subclasses_of | Xavier Noria | 2010-01-26 | 1 | -49/+0 |
| | | |||||
| * | removes unused Class#remove_subclasses | Xavier Noria | 2010-01-26 | 1 | -21/+0 |
| | | |||||
| * | removes unused method Class#subclasses | Xavier Noria | 2010-01-26 | 1 | -10/+0 |
| | | |||||
* | | Remove deprecated behavior since 2.3. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -17/+1 |
| | | |||||
* | | Add uniq_by and uniq_by! to Array. | José Valim and Mikel Lindsaar | 2010-01-24 | 1 | -3/+23 |
|/ | |||||
* | Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵ | Yehuda Katz | 2010-01-19 | 1 | -0/+15 |
| | | | | nil!) | ||||
* | Use backtrace cleaner for dev mode exception page | Joshua Peek | 2010-01-16 | 1 | -69/+0 |
| | |||||
* | Remove unneeded reliance on super -> method_missing quirk | Jeremy Kemper | 2010-01-07 | 1 | -0/+25 |
| | |||||
* | Let Integer#multiple_of? accept zero as argument | Xavier Noria | 2010-01-02 | 1 | -0/+5 |
| | | | | | | [#2982 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Fixed some bugs and fixed some tests in new SAX-based XmlMini backends. | Willem van Bergen | 2010-01-01 | 1 | -3/+5 |
| | | | | | | [#3636 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Added Object#presence that returns the object if it's #present? otherwise ↵ | David Heinemeier Hansson | 2009-12-27 | 1 | -2/+7 |
| | | | | returns nil [DHH/Colin Kelley] | ||||
* | String#exclude? core extension: inverse of #include? | Jeremy Kemper | 2009-12-27 | 1 | -0/+7 |
| | |||||
* | String#<< should work for any object which responds to :to_str, so enable ↵ | José Valim | 2009-12-26 | 1 | -0/+24 |
| | | | | this without the performance hit and make Fixnum safe by default. | ||||
* | Add test for TimeWithZone#to_i with wrapped DateTime | Geoff Buesing | 2009-12-15 | 1 | -0/+6 |
| | |||||
* | Added #to_i to DateTime in ActiveSupport so #to_yaml works correctly on ↵ | Serguei Filimonov | 2009-12-15 | 1 | -0/+4 |
| | | | | ActiveRecord models with DateTime attributes. | ||||
* | Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if ↵ | David Heinemeier Hansson | 2009-12-14 | 1 | -0/+5 |
| | | | | !x.include?/else calls [DHH] | ||||
* | Failing tests for to_param/to_query not escaping "[]" | Joshua Peek | 2009-12-02 | 1 | -4/+4 |
| | |||||
* | Repair time dependencies | Jeremy Kemper | 2009-11-14 | 1 | -1/+1 |
| | |||||
* | Consolidate date & time landscape: require 'active_support/time' | Jeremy Kemper | 2009-11-14 | 3 | -3/+3 |
| | |||||
* | Ruby 1.9.2: disallow explicit coercion via method_missing. Only give ↵ | Jeremy Kemper | 2009-11-13 | 1 | -15/+11 |
| | | | | friendly nil errors for Array and Active Record methods. | ||||
* | Test that Array.wrap works with proxy objects and structs | Jeremy Kemper | 2009-11-13 | 1 | -0/+20 |
| | |||||
* | Fix missing dependency | Jeremy Kemper | 2009-11-09 | 1 | -0/+1 |
| | |||||
* | Enumerable#none? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 |
| | |||||
* | Integer#even? and Integer#odd? are not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -16/+0 |
| | |||||
* | String#each_char is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -11/+0 |
| | |||||
* | String#start_with? and String#end_with? are not needed for Ruby >= 1.8.7, ↵ | Xavier Noria | 2009-11-09 | 1 | -8/+0 |
| | | | | leaves their plural aliases though | ||||
* | String#bytesize is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 |
| | |||||
* | Object#tap is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -9/+0 |
| | |||||
* | Symbol#to_proc is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 2 | -10/+0 |
| | |||||
* | Object#instance_variable_defined? is not needed for Ruby >= 1.8.7 | Xavier Noria | 2009-11-09 | 1 | -7/+0 |
| | |||||
* | Consolidate Object#to_param and #to_query core extensions | Jeremy Kemper | 2009-11-02 | 6 | -68/+62 |
| | |||||
* | Ruby 1.9.2: URI.escape is obsolete | Jeremy Kemper | 2009-11-02 | 1 | -2/+6 |
| | |||||
* | Allow :instance_reader to be given to superclass_delegating_accessor as well. | José Valim | 2009-11-01 | 1 | -0/+7 |
| | |||||
* | Replace decaying routing internals w/ rack-mount | Joshua Peek | 2009-10-19 | 1 | -19/+0 |
| |