aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
| * | fix usage examples and more to use new invocationsRomD2010-02-061-1/+1
| |/ | | | | | | Signed-off-by: Carl Lerche <carllerche@mac.com>
| * Making SafeBuffer << an alias for concat methodSantiago Pastorino2010-02-051-5/+2
| | | | | | | | | | | | [#3848 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | removes p calls in rdoc examplesXavier Noria2010-02-061-8/+8
| |
* | reformats an example in the rdoc of delegateXavier Noria2010-02-061-2/+7
| |
* | Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-021-1/+1
|\| | | | | | | | | | | | | | | Conflicts: activemodel/README activemodel/lib/active_model/errors.rb activemodel/lib/active_model/serialization.rb railties/guides/source/3_0_release_notes.textile
| * Merge branch 'master' of git://github.com/rails/railsMikel Lindsaar2010-02-022-21/+121
| |\
| * | Updating copyright dates on all licensesMikel Lindsaar2010-02-011-1/+1
| | |
* | | Merge remote branch 'mainstream/master'Pratik Naik2010-02-012-21/+121
|\ \ \ | | |/ | |/|
| * | Introduce class_attribute to declare inheritable class attributes. Writing ↵Jeremy Kemper2010-02-011-0/+36
| | | | | | | | | | | | 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 Katz2010-01-311-21/+85
| |/ | | | | | | | | | | | | | | | | | | | | | | 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.
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-311-53/+27
|\| | | | | | | | | Conflicts: activemodel/lib/active_model/state_machine.rb
| * superclass_delegating_accessor rewritten to serve as the base for many other ↵Yehuda Katz2010-01-291-53/+27
| | | | | | | | kinds of accessors (step 1 of unification)
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-2810-152/+31
|\| | | | | | | | | Conflicts: railties/lib/rails/railtie.rb
| * Time#- with a DateTime argument behaves the same as with a Time argument, ↵Geoff Buesing2010-01-271-1/+1
| | | | | | | | i.e. returns the difference between self and arg as a Float [#3476 status:resolved]
| * Merge remote branch 'fxn/master'Jeremy Kemper2010-01-264-122/+0
| |\
| | * removes now void extending.rbXavier Noria2010-01-262-5/+0
| | |
| | * removes Object#extended_byXavier Noria2010-01-261-4/+0
| | |
| | * removes unused method Object#extend_with_included_modules_fromXavier Noria2010-01-261-4/+0
| | |
| | * deletes no void files removal.rb and class_test.rbXavier Noria2010-01-263-7/+0
| | |
| | * removes unused method Class#remove_classXavier Noria2010-01-261-31/+0
| | |
| | * removes unused method Class#reachable?Xavier Noria2010-01-261-5/+0
| | |
| | * removes unused Class#descedentsXavier Noria2010-01-261-34/+0
| | |
| | * removes unused Object#subclasses_ofXavier Noria2010-01-261-12/+0
| | |
| | * removes unused Object#remove_subclasses_ofXavier Noria2010-01-261-4/+0
| | |
| | * removes unused Class#remove_subclassesXavier Noria2010-01-261-9/+0
| | |
| | * removes unused method Class#subclassesXavier Noria2010-01-261-7/+0
| | |
| * | Speed up some Hash core extensions.José Valim and Mikel Lindsaar2010-01-242-16/+12
| | |
| * | Remove deprecated behavior since 2.3.José Valim and Mikel Lindsaar2010-01-241-13/+0
| | |
| * | Add uniq_by and uniq_by! to Array.José Valim and Mikel Lindsaar2010-01-242-0/+18
| |/
* | Merge remote branch 'mainstream/master'Pratik Naik2010-01-241-30/+16
|\|
| * Stop overriding LoadError.new to return a MissingSourceError (and sometimes ↵Yehuda Katz2010-01-191-30/+16
| | | | | | | | nil!)
* | removes that beloved typo you only catch in github colored diffXavier Noria2010-01-211-1/+1
| |
* | rewords rdoc about :allow_nil in Module#delegateXavier Noria2010-01-211-4/+4
| |
* | a hash has no final keyXavier Noria2010-01-211-2/+2
|/
* Use backtrace cleaner for dev mode exception pageJoshua Peek2010-01-161-47/+0
|
* Merge docrailsPratik Naik2010-01-179-6/+97
|
* Remove unneeded reliance on Numeric#round quirkJeremy Kemper2010-01-061-2/+3
|
* Let Integer#multiple_of? accept zero as argumentXavier Noria2010-01-021-1/+1
| | | | | | [#2982 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* fixes a couple of wrong requiresXavier Noria2010-01-011-1/+1
|
* to_param.rb needs active_support/core_ext/object/to_queryXavier Noria2010-01-011-0/+2
|
* extending.rb needs active_support/core_ext/object/blankXavier Noria2010-01-011-0/+1
|
* extending.rb needs active_support/core_ext/class/removal because it uses ↵Xavier Noria2010-01-011-0/+2
| | | | reachable?
* synchronization.rb needs active_support/core_ext/array/extract_optionsXavier Noria2010-01-011-0/+1
|
* loading.rb needs active_support/core_ext/string/inflections because it uses ↵Xavier Noria2010-01-011-0/+2
| | | | underscore
* hash/conversions.rb needs active_support/core_ext/string/inflections because ↵Xavier Noria2010-01-011-0/+1
| | | | it uses singularize and a few others
* hash/conversions.rb needs active_support/core_ext/object/blank because it ↵Xavier Noria2010-01-011-0/+1
| | | | uses blank?
* date_time/calculations.rb needs active_support/core_ext/object/acts_like ↵Xavier Noria2010-01-011-0/+1
| | | | because it uses acts_like?
* date/calculations.rb needs active_support/core_ext/object/acts_like because ↵Xavier Noria2010-01-011-0/+1
| | | | it uses acts_like?
* delegating_attributes.rb does not use duplicableXavier Noria2010-01-011-1/+0
|
* require cgi to reopen it, not technically needed but makes senseXavier Noria2010-01-011-0/+2
|