aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
...
| * Minor English fix.Erich Menge2012-04-301-1/+1
| |
* | Tests for regexp separator in String#truncateAlexey Gaziev2012-04-291-1/+4
| | | | | | | | https://github.com/rails/rails/commit/5a7513593f64e0ff7e4de1ee37bac5eeddfae270
* | Merge pull request #5996 from gazay/remove_excess_selfsJeremy Kemper2012-04-2841-324/+473
|\ \ | |/ |/| Active Support housekeeping and polish
| * String quotes and trailing spacesAlexey Gaziev2012-04-2921-126/+126
| |
| * Indentation for private methodsAlexey Gaziev2012-04-292-20/+18
| | | | | | | | https://github.com/rails/rails/commit/e7d55f734aae204115d0a04a2db774ac364c1312
| * AS core_ext refactoring pt.2Alexey Gaziev2012-04-2920-86/+110
| |
| * AS core_ext refactoringAlexey Gaziev2012-04-2915-93/+220
| |
* | Merge pull request #5880 from asanghi/masterJeremy Kemper2012-04-251-2/+2
|\ \ | |/ |/| Stamp out ruby-debug with debugger everywhere else in the code base
| * and one more timeAditya Sanghi2012-04-241-2/+2
| |
| * another attempt at the languageAditya Sanghi2012-04-181-1/+1
| |
| * review changes for #5875Aditya Sanghi2012-04-181-1/+1
| |
| * stamp out ruby-debug19 with extreme prejudice :)Aditya Sanghi2012-04-171-2/+2
| |
* | Remove circular require of time/zonesOscar Del Ben2012-04-211-1/+0
|/
* 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`
* 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 requires of some AS deprecation filesXavier Noria2012-04-051-1/+1
|
* 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
| |
* | use undef_method to avoid NameError exceptions all the timeAaron Patterson2012-03-311-5/+1
| |
* | 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
| | |
* | | deprecate Proc#bind that can cause symbol memory leakSergey Nartimov2012-03-221-0/+3
| | |
* | | probably should require the objects we monkey patch.Aaron Patterson2012-03-201-0/+1
| | |
* | | search private and protected methods for convert_keyAaron Patterson2012-03-201-2/+2
| | |
* | | bigdecimal can be duped on Ruby 2.0Aaron Patterson2012-03-201-0/+12
| | |
* | | Remove deprecation from AS::Deprecation behavior, some minor cleanupsCarlos Antonio da Silva2012-03-161-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Refactor log subscriber, use select! to avoid a new object * Remove deprecation messages related to AS::Deprecation behavior This was added about 2 years ago for Rails 3: https://github.com/rails/rails/commit/d4c7d3fd94e5a885a6366eaeb3b908bb58ffd4db * Remove some not used requires * Refactor delegate to avoid string conversions and if statements inside each block
* | | refactor Hash#slice and Hash#extract!Vasiliy Ermolovich2012-03-061-8/+4
|/ /
* | Stop SafeBuffer#clone_empty from issuing warningsCarlos Antonio da Silva2012-03-021-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | Logic in clone_empty method was dealing with old @dirty variable, which has changed by @html_safe in this commit: https://github.com/rails/rails/commit/139963c99a955520db6373343662e55f4d16dcd1 This was issuing a "not initialized variable" warning - related to: https://github.com/rails/rails/pull/5237 The logic applied by this method is already handled by the [] override, so there is no need to reset the variable here.
* | Merge branch 'master-security'Aaron Patterson2012-03-011-16/+22
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * | Ensure [] respects the status of the buffer.José Valim2012-02-291-12/+18
| | |
| * | delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-201-6/+0
| | |
| * | add AS::SafeBuffer#clone_emptyAkira Matsuda2012-02-201-0/+6
| | |
* | | Merge pull request #4284 from mattdbridges/time_calculation_aliasesXavier Noria2012-02-282-0/+10
|\ \ \ | | | | | | | | Added aliases for prev_year, prev_month, and prev_week in Time and Date calculations
| * | | Adding :last_week, :last_month, and :last_year aliases to Time and DateMatt Bridges2012-02-212-0/+10
| | | | | | | | | | | | | | | | core extensions
* | | | call binmode on the tempfile for Ruby 1.8 compatibilityAaron Patterson2012-02-271-1/+2
| | | |
* | | | Merge pull request #5179 from RalphShnelvar/Binary_mode_Window_bugAaron Patterson2012-02-271-1/+1
| |/ / |/| | | | | | | | Binary mode window bug
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-181-1/+1
|\ \ \
| * | | Update Time#change docs to reflect the options it usesEric Oestrich2012-02-171-1/+1
| | | | | | | | | | | | [ci skip]
* | | | remove unnecessary require core_ext/string/encodingSergey Nartimov2012-02-142-2/+0
| | | |
* | | | make Range#overlaps? accept Range of TimeShigeya Suzuki2012-02-091-1/+1
|/ / /
* | | Merge pull request #4878 from vijaydev/ordinal-2072Xavier Noria2012-02-071-0/+14
|\ \ \ | | | | | | | | PR #2072 with docs