aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Merge pull request #5864 from vatrai/remove_ordered_hash_autoload"Aaron Patterson2012-04-171-0/+1
| | | | | This reverts commit 86c640a1625aa3a8ec8728c2f1c640c9718fcb0b, reversing changes made to a0c2cfdc51e16fc39c1d3b1e78bdd257188fa04e.
* remove autoload for OrderedHash, usages removed alreadyVishnu Atrai2012-04-161-1/+0
|
* fixed broken build after multi_json upgradeArun Agrawal2012-04-161-3/+3
| | | Multi_json also upgraded.
* Require for time_with_zone should stay in core_ext/time_zones :bomb:Piotr Sarnacki2012-04-151-0/+1
|
* Add missing require in Active Support time zones (fixes #5854)Piotr Sarnacki2012-04-151-1/+1
| | | | | I also removed the other require as it's already present in `activesupport/core_ext/time/calculations`
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-04-121-1/+1
|\
| * fix doc for ActiveSupport::Callbacks::Callback#define_conditional_callbackJan Xie2012-04-081-1/+1
| |
* | Remove Module#delegate!Daniel Schierbeck2012-04-121-52/+0
| |
* | Add back the old `deprecate` method as `deprecate!`Daniel Schierbeck2012-04-121-0/+52
| |
* | Change API docs regarding delegation to non-public methodsDaniel Schierbeck2012-04-121-1/+1
| |
* | Optimize the performance of #delegateDaniel Schierbeck2012-04-121-9/+13
| | | | | | | | | | | | Remove the use of #__send__ in order to boost performance. This also means that you can no longer delegate to private methods on the target object.
* | Inline the symbolize_keys/stringify_keys methodsSantiago Pastorino2012-04-081-2/+10
| | | | | | | | | | | | user system total real symbolize_keys 5.980000 0.070000 6.050000 ( 6.048187) new_symbolize_keys 4.310000 0.050000 4.360000 ( 4.364745)
* | Remove Fixnum#to_sym support in 1.8.7Santiago Pastorino2012-04-081-1/+1
| |
* | update stdlib doc urls in comments - ↵Trevor Wennblom2012-04-072-6/+6
| | | | | | | | | | | | active_support/core_ext/[integer|numeric]/time.rb http://stdlib.rubyonrails.org/ last updated in 2005
* | revises the regexp used in titleizeXavier Noria2012-04-071-1/+1
|/ | | | | | | | | The regexp used in titleize matches saxon genitive and other contractions, only to call capitalize on the captured text and have the apostrophe upcased which yields the apostrophe itself. It is more clear that the regexp matches just what it has to match.
* revises requires of some AS deprecation filesXavier Noria2012-04-053-3/+4
|
* Initialize variables in file update checker to avoid warningsCarlos Antonio da Silva2012-04-051-0/+3
|
* Remove not used require from as to avoid circular requiresCarlos Antonio da Silva2012-04-051-1/+0
|
* Merge pull request #3084 from esad/masterXavier Noria2012-04-051-0/+2
|\ | | | | Dependency fix for activesupport
| * Add a missing require for 'active_support/deprecation' in Module#deprecateEsad Hajdarevic2011-09-201-0/+2
| |
* | Merge pull request #5716 from jurriaan/tr-gsub-cleanupSantiago Pastorino2012-04-041-1/+1
|\ \ | | | | | | Updated/changed unneeded tr/gsubs
| * | Updated/changed useless tr/gsubsJurriaan Pruis2012-04-031-1/+1
| | |
* | | Merge pull request #5188 from jlxw/patch-1Santiago Pastorino2012-04-041-1/+1
|\ \ \ | | | | | | | | logger.silence is deprecated
| * | | logger.silence is deprecatedjlxw2012-02-271-1/+1
| | | |
* | | | the file update checker now also detects removed filesXavier Noria2012-04-031-24/+38
| |/ / |/| |
* | | Fix typoArtyom Bolshakov2012-04-031-1/+1
| | |
* | | use undef_method to avoid NameError exceptions all the timeAaron Patterson2012-03-311-5/+1
| | |
* | | Merge pull request #4911 from Floppy/masterAaron Patterson2012-03-301-1/+1
|\ \ \ | | | | | | | | Reduce FILENAME_MAX_SIZE in ActiveSupport::Cache::FileStore
| * | | Change FILENAME_MAX_SIZE in FileStore to 228.James Smith2012-02-061-1/+1
| | | | | | | | | | | | | | | | In order that temp filenames generated from it will fit in 255 chars. See https://github.com/rails/rails/issues/4907
* | | | validate attribute names in class and module attribute accessorsDmitry Plashchynski2012-03-302-0/+4
| | | |
* | | | remove redundant variableDmitrii Golub2012-03-281-2/+1
| | | |
* | | | Merge pull request #5331 from castlerock/remove_unused_requireAaron Patterson2012-03-261-2/+0
|\ \ \ \ | | | | | | | | | | remove unused require from AS/core_ext/class/delegating_att.rb
| * | | | remove unused require from AS/core_ext/class/delegating_att.rbVishnu Atrai2012-03-101-2/+0
| | | | |
* | | | | String#titleize works properly with smart quotes, closes #5584Vasiliy Ermolovich2012-03-261-2/+4
| | | | |
* | | | | Merge pull request #5566 from lest/patch-3Piotr Sarnacki2012-03-251-0/+4
|\ \ \ \ \ | | | | | | | | | | | | fix HashWithIndifferentAccess.[] method
| * | | | | fix HashWithIndifferentAccess.[] methodSergey Nartimov2012-03-231-0/+4
| | | | | |
* | | | | | removed warning: shadowing outer local variable - exceptionArun Agrawal2012-03-241-1/+1
|/ / / / /
* | | | | Fix tests, when creating rescue handler, we need to check for arity nowPiotr Sarnacki2012-03-231-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before it was handled by Proc.bind, but since Proc.bind has been deprecated, this is no longer the case and returned handler needs to match rescuer.
* | | | | deprecate Proc#bind that can cause symbol memory leakSergey Nartimov2012-03-222-1/+4
| | | | |
* | | | | remove duplicate requires. thanks @atamboAaron Patterson2012-03-211-1/+0
| | | | |
* | | | | evented listeners can subscribe to any messageAaron Patterson2012-03-211-9/+27
| | | | |
* | | | | evented subscribers workAaron Patterson2012-03-211-6/+10
| | | | |
* | | | | start / finish events are sent by the instrumenterAaron Patterson2012-03-212-7/+41
| | | | |
* | | | | push the autoloads up to requiresAaron Patterson2012-03-211-4/+4
| | | | |
* | | | | split subscribers based on pattern typeAaron Patterson2012-03-211-13/+31
| | | | |
* | | | | probably should require the objects we monkey patch.Aaron Patterson2012-03-201-0/+1
| | | | |
* | | | | search private and protected methods for convert_keyAaron Patterson2012-03-202-3/+3
| | | | |
* | | | | bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-0/+12
| | | | |
* | | | | Provide access to logger instance within TaggedLogging blocksFND2012-03-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this improves encapsulation, simplifying occurrences like the following: Rails.logger.tagged("DEBUG") { Rails.logger.debug(msg) } ... by removing the need to rely on (i.e. repeat) outer variables: Rails.logger.tagged("DEBUG") { |logger| logger.debug(msg) }
* | | | | use empty? on the hash to avoid another method callAaron Patterson2012-03-161-1/+1
| | | | |