aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | Condense to Kernel#with_warningsJeremy Kemper2009-03-241-6/+8
| | | | | |
* | | | | | Indentation, superfluous selfJeremy Kemper2009-03-241-25/+25
| | | | | |
* | | | | | Move Numeric#to_utc_offset_s to TimeZone.seconds_to_utc_offsetJeremy Kemper2009-03-233-17/+2
| | | | | |
* | | | | | Namespace HashWithIndifferentAccessJeremy Kemper2009-03-211-1/+1
| | | | | |
* | | | | | Hide XmlMini backend details from rdocJeremy Kemper2009-03-211-3/+3
| | | | | |
* | | | | | try is an object extensionJeremy Kemper2009-03-212-4/+5
| | | | | |
* | | | | | Convert Range extension module to a class reopenJeremy Kemper2009-03-212-14/+9
| | | | | |
* | | | | | Convert Numeric extension module to a class reopenJeremy Kemper2009-03-212-18/+16
| | | | | |
* | | | | | Fix dangling Inflector referenceJeremy Kemper2009-03-211-1/+1
| | | | | |
* | | | | | Convert LoadError extension modules to class reopensJeremy Kemper2009-03-211-9/+6
| | | | | |
* | | | | | Convert integer extension modules to class reopensJeremy Kemper2009-03-213-43/+27
| | | | | |
* | | | | | Convert hash extension modules to class reopensJeremy Kemper2009-03-218-314/+145
| | | | | |
* | | | | | Simplify Enumerable#each_with_objectJeremy Kemper2009-03-211-4/+3
| | | | | |
* | | | | | Explicitly require pathname core extensionJeremy Kemper2009-03-211-0/+2
| | | | | |
* | | | | | Convert date extension modules to class reopensJeremy Kemper2009-03-214-43/+43
| | | | | |
* | | | | | blank? and duplicable? are Object extensionsJeremy Kemper2009-03-213-1/+4
| | | | | |
* | | | | | Convert bigdecimal extension modules to class reopensJeremy Kemper2009-03-212-33/+21
| | | | | |
* | | | | | Convert array extension modules to class reopensJeremy Kemper2009-03-216-348/+314
| | | | | |
* | | | | | Only require builder at startup if we need to monkey with its String#to_xs ↵Jeremy Kemper2009-03-211-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | demands
* | | | | | * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc)Jeremy Kemper2009-03-2129-308/+150
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | * Convert some extension modules to simply reopening the class * Remove deprecated Float time extensions * Fold Base64 extension into ActiveSupport::Base64 since stdlib Base64 is gone
* | | | | Merge docrailsPratik Naik2009-03-161-1/+1
| | | | |
* | | | | Use xmlschema when serializing TimeWithZones to xml [#2223 state:resolved]Jonathan del Strother2009-03-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using Hash#to_xml, any TimeWithZone objects now use xmlschema (iso8601), rather than a simple TimeWithZone#to_s. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | | | | Ensure HWIA#reverse_merge! retrurns HWIA [#421 state:resolved]Bradford Folkens2009-03-121-0/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | | | | Allow String#parameterize to accept a separator [#2157 state:resolved]Sam Granieri2009-03-071-2/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | | | | Force all internal calls to Array#to_sentence to use English [#2010 ↵David Heinemeier Hansson2009-02-271-3/+2
| | | | | | | | | | | | | | | | | | | | state:resolved]
* | | | | Deprecated warnings for :skip_last_command and :connector of to_sentence ↵Guillermo Álvarez2009-02-221-5/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [#1847 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* | | | | Broaden URI.unescape fix to all affected 1.9.x by checking for broken ↵Jeremy Kemper2009-02-201-6/+12
| | | | | | | | | | | | | | | | | | | | behavior instead of specific patchlevel
* | | | | URI.unescape fix removes the old unescape methodJeremy Kemper2009-02-201-10/+7
| | | | |
* | | | | Ruby 1.9.1p0's URI.decode() bug fixmoro2009-02-201-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | backport to fix Ruby 1.9.1p0 bug on [ruby-dev:38005]. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | | | | Make atomic_write() puts the check_file in the cache dir, not in applicationBruno Duyé2009-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | root [#1962 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | | | | Array#wrap should use #to_ary so association collections and named scopes ↵Will Bryant2009-02-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are not re-wrapped [#1935 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* | | | | Time#to_s(:rfc822) uses #formatted_offset instead of unreliable and ↵Zachary Zolton2009-02-091-1/+1
| | | | | | | | | | | | | | | | | | | | non-standard %z directive [#1899 state:resolved]
* | | | | Remove dummy Object#try before aliasing itJeremy Kemper2009-02-061-0/+1
| | | | |
* | | | | Avoid circular requireJeremy Kemper2009-02-061-1/+1
| | | | |
* | | | | Introduce Array.wrap(foo) to wrap the argument in an array unless it's ↵Jeremy Kemper2009-02-062-0/+21
| | | | | | | | | | | | | | | | | | | | already an array. Wraps nil as an empty array. Use instead of Array(foo) and foo.to_a since they treat String as Enumerable.
* | | | | Merge docrailsPratik Naik2009-02-011-4/+9
| |_|_|/ |/| | |
* | | | Merge docrailsPratik Naik2009-01-185-7/+7
| | | |
* | | | Refactor Object#try to use inheritance. [#1774 state:resolved]Josh Susser2009-01-182-17/+30
| |_|/ |/| | | | | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* | | Change Object#try to raise NoMethodError on private methods and always ↵Pratik Naik2009-01-131-1/+1
| | | | | | | | | | | | return nil when Object is nil [Pratik Naik, Lawrence Pit]
* | | Object#tap for Ruby < 1.8.7Jeremy Kemper2009-01-071-0/+15
| |/ |/|
* | Inline code comments for class_eval/module_eval [#1657 state:resolved]Xavier Noria2008-12-289-122/+123
|/ | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved]trans2008-12-261-1/+8
| | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Add :allow_nil option to delegate [#1127 state:resolved]Sergio Gil2008-12-211-1/+27
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Added a :camelize option to ActiveRecord and Hash to_xml serialization and ↵Bruce Krysiak2008-12-101-7/+13
| | | | | | from_xml deserialization Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Benchmark.msJeremy Kemper2008-12-091-6/+13
|
* Change Array#to_sentence I18n options to pass comma and space character from ↵Akira Matsuda2008-12-081-9/+10
| | | | | | | | outside. [#1397 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Merge with docrailsPratik Naik2008-12-071-0/+2
|
* Silence server backtrace in rescue templates and log files. Also remove some ↵Joshua Peek2008-12-051-8/+11
| | | | noise from missing template errors.
* Ruby 1.9 compat: CGI#escape_skipping_slashesJeremy Kemper2008-11-261-5/+14
|
* Autoload ActiveSupport::XmlMiniJeremy Kemper2008-11-261-1/+0
|