aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
* Require as little of REXML as possible to apply the entity_expansion_limit fixJeremy Kemper2008-11-261-24/+29
|
* Lazy-require CGI for Object#to_queryJeremy Kemper2008-11-261-2/+1
|
* Extract XmlMini. Namespace FileLike extension.Jeremy Kemper2008-11-251-128/+14
|
* Extract XmlMini from XmlSimple. [#1474 state:committed]Joseph Holsten2008-11-251-21/+106
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Allow optional arguments and/or block for Object#try like Object#send does. ↵Eloy Duran2008-11-241-2/+7
| | | | | | | | [#1425 state:resolved] Original suggestion by Pat Nakajima. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Lazy-require tempfile for File#atomic_writeJeremy Kemper2008-11-231-2/+2
|
* Lazy-require XmlSimple. Move CGI require to object conversions where it's ↵Jeremy Kemper2008-11-232-3/+5
| | | | actually used.
* Lazy-require builder libJeremy Kemper2008-11-232-3/+3
|
* Changed the fallback String#each_char to use valid 1.9 syntax.Tom Lea2008-11-221-1/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Added ActiveSupport::BacktraceCleaner and Rails::BacktraceCleaner for ↵David Heinemeier Hansson2008-11-221-0/+1
| | | | cutting down on backtrace noise (inspired by the Thoughtbot Quiet Backtrace plugin) [DHH]
* Reduced the number of literal aliases to the range that has actually seen ↵David Heinemeier Hansson2008-11-211-23/+3
| | | | personal use. With the massive savings in overhead, I was able to fit Array#forty_two
* Ensure only delegations to methods can have an automatic prefix. [#1235 ↵Daniel Schierbeck2008-11-211-0/+4
| | | | | | state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Enumerable#none? conforms to Ruby 1.8.7 behaviorJeremy Kemper2008-11-191-3/+3
|
* Added Object#try. ( Taken from http://ozmm.org/posts/try.html ) [Chris ↵Pratik Naik2008-11-191-0/+13
| | | | Wanstrath]
* Update doc to make more senseDavid Heinemeier Hansson2008-11-191-1/+1
|
* Added Enumerable#none? to check that none of the elements match the block ↵Damian Janowski2008-11-191-0/+9
| | | | | | [#1408 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Explicitly require AS::DurationJeremy Kemper2008-11-171-0/+2
|
* Prefer a feature check to a version checkJeremy Kemper2008-11-121-1/+1
|
* Fixed the option merging in Array#to_xml [#1126 state:resolved]David Heinemeier Hansson2008-10-311-1/+1
|
* Simplified the implementation of the :prefix option.Daniel Schierbeck2008-10-191-1/+1
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#984 state:committed]
* Added documentation of the new :prefix option.Daniel Schierbeck2008-10-191-0/+25
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Made the :prefix option on Module#delegate accept a custom prefix.Daniel Schierbeck2008-10-191-1/+1
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Added :prefix option to Module#delegate.Daniel Schierbeck2008-10-191-1/+3
| | | | Signed-off-by: Michael Koziarski <michael@koziarski.com>
* Added deprecated warning messages to Float#months and Float#years deprications.Tom Lea2008-10-131-2/+2
|
* Deprecated Float#years and Float#months, moved Numeric#years and ↵Tom Lea2008-10-135-10/+76
| | | | Numeric#months into Integer.
* Time#advance recognizes fractional days and weeks [#970 state:resolved]Tom Lea2008-10-131-0/+10
|
* Made i18n simple backend able to store false values (and not confuse them ↵Tarmo Tänav2008-10-091-1/+2
| | | | | | | | | with nil or lack of value) Implemented support.array.skip_last_comma i18n key for Array#to_sentence, this also tests the ability to store false. Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Merge docrailsPratik Naik2008-10-053-25/+48
|
* Provide alternate implementation of Object#subclasses_of for JRubyNick Sieger2008-10-031-12/+33
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1144 state:committed]
* slice now returns indifferent hash if called on oneadam2008-09-231-1/+1
| | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed]
* Deprecated String#chars in favor of String#mb_chars.Manfred Stienstra2008-09-211-1/+4
|
* Improve documentation.Manfred Stienstra2008-09-211-13/+10
|
* Change all calls to String#chars to String#mb_chars.Manfred Stienstra2008-09-211-5/+5
|
* Simplify ActiveSupport::Multibyte and make it run on Ruby 1.9.Manfred Stienstra2008-09-213-68/+85
| | | | | | * Unicode methods are now defined directly on Chars instead of a handler * Updated Unicode database to Unicode 5.1.0 * Improved documentation
* Fixed Time#end_of_quarter to not blow up on May 31st [#313 state:resolved]Carlos Brando2008-09-191-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Introduce convenience methods past?, today? and future? for Date and Time ↵Clemens Kofler2008-09-143-24/+68
| | | | classes to facilitate Date/Time comparisons.
* Make sure the permissions check file is closed before being unlinked.Michael Koziarski2008-09-141-1/+1
| | | | [#1035 state:committed]
* Merge docrailsPratik Naik2008-09-131-6/+6
|
* Ensure Hash#except is allowed on a frozen hash. References #382Mislav Marohnić2008-09-131-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix ActiveRecord::Base.quote_bound_value for ActiveSupper::Multibyte::Chars ↵Manfred Stienstra2008-09-112-0/+15
| | | | | | | | | | values. - Adds String#acts_like_string? - Adds Chars#acts_like_string? Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1029 state:committed]
* Added Inflector#parameterize for easy slug generation ("Donald E. ↵David Heinemeier Hansson2008-09-101-0/+19
| | | | Knuth".parameterize => "donald-e-knuth") #713 [Matt Darby]
* No local variable in the global namespace plzDavid Heinemeier Hansson2008-09-091-3/+2
|
* Fixed that REXML fix would break on earlier versions of ruby (Frederick ↵David Heinemeier Hansson2008-09-091-1/+3
| | | | Cheung) [state:resolved #987]
* Revert "Remove the Version check as it's not always available."David Heinemeier Hansson2008-09-091-20/+22
| | | | This reverts commit 6e2851d4261fbbea00e8e74802a507a89af80e2f.
* Remove the Version check as it's not always available.Michael Koziarski2008-09-091-22/+20
|
* Fix indentation mismatchJeremy Kemper2008-09-081-1/+1
|
* Don't shadow arg with block varJeremy Kemper2008-09-081-2/+2
|
* BigDecimal to_s and yaml housekeepingJeremy Kemper2008-09-081-22/+18
|
* Ruby 1.9 compat: use method_defined? instead of instance_methods.include? ↵Jeremy Kemper2008-09-061-3/+6
| | | | Don't encourage args abuse by flattening.
* Handle the case where there is no ivar set.Michael Koziarski2008-09-041-1/+1
| | | | This happens on jruby due to a bug, but also on historically marshalled data.