aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Support passing a block to ActiveSupport::OrderedHash's merge and merge! ↵Paul Mucur2010-06-131-3/+7
| | | | | | | | [#4838 state:committed] For better consistency with Ruby's own Hash implementation. Signed-off-by: Xavier Noria <fxn@hashref.com>
* require conversions to use String#ordSantiago Pastorino2010-06-121-0/+1
|
* No need to call convert_key before except.José Valim2010-06-121-1/+0
|
* Simplify and optimize callbacks superclass sync.José Valim2010-06-121-54/+21
|
* Date#since, #ago, #beginning_of_day, #end_of_day, #xmlschema return ↵Geoff Buesing2010-06-122-5/+15
| | | | | | TimeWithZone when Time.zone_default is set Signed-off-by: Xavier Noria <fxn@hashref.com>
* Remove String#constantize depsJeremy Kemper2010-06-111-1/+1
|
* Explicitly delegate Chars#<=> to work around Kernel#<=> possibly ignoring ↵Jeremy Kemper2010-06-111-3/+4
| | | | method_missing
* Get ready for beta 4David Heinemeier Hansson2010-06-081-1/+1
|
* Missing require restoredwycats2010-06-081-0/+1
|
* Require encoding.rbwycats2010-06-081-0/+1
|
* Move the undef into the 1.9 only branchwycats2010-06-071-2/+2
|
* Merge remote branch 'rsim/oracle_enhanced_rails3'wycats2010-06-071-3/+3
|\
| * fix conditions when DateTime#to_date and DateTime#xmlschema methods are definedRaimonds Simanovskis2010-06-041-3/+3
| |
* | If we undef <=>, it solves a problem involving comparison. Please figure out ↵wycats2010-06-071-0/+2
| | | | | | | | the root cause.
* | Fixed Load Error failures in 1.9.2-headRizwan Reza2010-06-071-0/+1
| |
* | Clear const references all at onceJeremy Kemper2010-06-051-6/+9
| |
* | ActiveSupport::Dependencies.constantize shortcut for caching named constant ↵Jeremy Kemper2010-06-053-14/+20
| | | | | | | | lookups
* | Optimize LookupContextwycats2010-06-041-0/+23
| |
* | Small optimization of 1.9 unescape. We should make sure that inbound ASCII ↵wycats2010-06-041-2/+6
| | | | | | | | always means UTF-8. It seems so based on a quick survey of common browsers, but let's be sure
* | Improve performance of MessageVerifier while keeping it constant timewycats2010-06-041-4/+4
| |
* | Eliminate the need to check for superclass changes to the callback stack ↵wycats2010-06-041-3/+6
| | | | | | | | each time through the callbacks
* | removes Array#random_element and backports Array#sample from Ruby 1.9, ↵Xavier Noria2010-06-051-4/+18
|/ | | | thanks to Marc-Andre Lafortune
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-021-13/+9
|\
| * revises the documentation of String#truncate and the truncate helperXavier Noria2010-06-021-13/+9
| |
* | You need the ruby-debug available in your Gemfile for debugger to workDavid Heinemeier Hansson2010-06-021-1/+1
|/
* Merge branch 'master' of github.com:rails/railsDavid Heinemeier Hansson2010-06-015-4/+21
|\
| * Unforce memcache from ASSantiago Pastorino2010-06-011-1/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Unforce builder from ASSantiago Pastorino2010-06-013-2/+8
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Unforce tzinfo from ASSantiago Pastorino2010-06-011-1/+7
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | Extracted String#truncate from TextHelper#truncate [DHH]David Heinemeier Hansson2010-06-011-0/+33
|/
* Unforce i18n from ASSantiago Pastorino2010-05-313-5/+17
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Merge remote branch 'rails/master'Xavier Noria2010-05-2714-578/+588
|\
| * Fix a bug where I18n fallbacks modules where not included in the proper ↵José Valim2010-05-231-2/+3
| | | | | | | | backend if it was set through config.i18n.backend.
| * Use multibyte proxy class on 1.9, refactor Unicode.Norman Clarke2010-05-217-541/+555
| | | | | | | | | | | | | | | | | | | | Makes String#mb_chars on Ruby 1.9 return an instance of ActiveSupport::Multibyte::Chars to work around 1.9's lack of Unicode case folding. Refactors class methods from ActiveSupport::Multibyte::Chars into new Unicode module, adding other related functionality for consistency. [#4594 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
| * 1.day should respond_to kind_of tooNeeraj Singh2010-05-211-0/+1
| | | | | | | | | | | | [#4656 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
| * refactor evals and adds some __FILE__ and __LINE__Santiago Pastorino2010-05-205-35/+29
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* | A small rdoc change made on lines 39 and 41 on ↵jacortinas2010-05-251-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.
* Merge remote branch 'rails/master'Xavier Noria2010-05-195-33/+13
|\
| * removes deprecations of last_(month|year) from master, they will be ↵Xavier Noria2010-05-192-22/+0
| | | | | | | | deprecated in 2.3 instead
| * Renames Array#rand -> Array#random_elementRizwan Reza2010-05-171-11/+1
| | | | | | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
| * Revert "Moved encoding work in progress to a feature branch."wycats2010-05-172-0/+12
| | | | | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517.
* | in Ruby things in general happen at runtime, no need to specify thatXavier Noria2010-05-191-2/+3
| |
* | Updating the doc with the info that class_inheritable_accessorNeeraj Singh2010-05-191-0/+2
|/ | | | copies properties to child at runtime
* Moved encoding work in progress to a feature branch.Jeremy Kemper2010-05-162-12/+0
| | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c.
* Change on Array extension from rand => random_element [#4555 state:committed]Santiago Pastorino2010-05-161-1/+11
| | | | Signed-off-by: Xavier Noria <fxn@hashref.com>
* Initial work to improve the state of encodings for templateswycats2010-05-162-0/+12
|
* Reorganized initializers a bit to enable better hooks for common cases ↵wycats2010-05-151-4/+14
| | | | | | | | | | | | | | | without the need for Railtie. Specifically, the following hooks were added: * before_configuration: this hook is run immediately after the Application class comes into existence, but before the user has added any configuration. This is the appropriate place to set configuration for your plugin * before_initialize: This is run after all of the user's configuration has completed, but before any initializers have begun (in other words, it runs right after config/environments/{development,production,test}.rb) * after_initialize: This is run after all of the initializers have run. It is an appropriate place for forking in a preforking setup Each of these hooks may be used via ActiveSupport.on_load(name) { }. In all these cases, the context inside the block will be the Application object. This means that for simple cases, you can use these hooks without needing to create a Railtie.
* Add missing require to with_options [#4601 state:resolved]Carlos Antonio da Silva2010-05-151-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Better code formatting and proper line numbers for stack tracesNeeraj Singh2010-05-141-1/+1
| | | | | | [#4596 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* defines prev_(month|year) in Date and Time to ease transition to 1.9, and ↵Xavier Noria2010-05-122-7/+28
| | | | deprecates last_(month|year)