aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * | | Add ActiveSupport::Inflector.ordinal and Integer#ordinalTim Gildea2012-02-041-0/+14
| | | |
* | | | Optional start_day argument for Time#all_week.kennyj2012-02-061-3/+3
|/ / / | | | | | | | | | Closes #4883
* | | revise docs [ci skip]Vijay Dev2012-02-011-1/+1
| | |
* | | Move escaping regexps to constantsCarlos Antonio da Silva2012-02-011-2/+4
| | |
* | | Move escape_once logic to ERB::Util, where it belongs toCarlos Antonio da Silva2012-02-011-0/+15
| | | | | | | | | | | | | | | | | | All the logic is based on the HTML_ESCAPE constant available in ERB::Util, so it seems more logic to have the entire method there and just delegate the helper to use it.
* | | Deprecate DateTime.local_offsetbrainopia2012-01-252-2/+16
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-261-2/+2
|\ \ \
| * | | Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use ActiveModel::Errors in inflection example docs as well. Also fixes wrong information and link to locale file related to Errors#full_messages in I18n guide.
* | | | Merge pull request #4524 from nashby/datetime-18-codeJosé Valim2012-01-251-15/+0
|\ \ \ \ | | | | | | | | | | remove ruby 1.8 related code
| * | | | remove ruby 1.8 related codeVasiliy Ermolovich2012-01-181-15/+0
| | | | |
* | | | | Merge pull request #4514 from brainopia/update_timezone_offetsAaron Patterson2012-01-241-1/+1
|\ \ \ \ \ | |_|/ / / |/| | | | Update time zone offset information
| * | | | Update time zone offset informationbrainopia2012-01-181-1/+1
| |/ / /
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-01-211-19/+19
|\ \ \ \
| * | | | Fix indentation in code example of DelegationTomasz Zurkowski2012-01-201-19/+19
| |/ / /
* / / / Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code.kennyj2012-01-191-1/+1
|/ / /
* | | to_date, to_time, and to_datetime Time methods present in ruby 1.9Sergey Nartimov2012-01-131-28/+0
| | |
* | | deprecates Module#local_constant_namesXavier Noria2012-01-121-2/+12
| | |
* | | fixes in api docsVijay Dev2012-01-131-1/+1
|/ /
* | Symbol#[] method presents in Ruby 1.9Sergey Nartimov2012-01-071-1/+1
| |
* | revert "fixing some tests on ruby 1.9.3 SHA 33f222b"Vishnu Atrai2012-01-071-23/+0
| |
* | Merge pull request #4304 from lest/refactor-truncateAaron Patterson2012-01-051-6/+5
|\ \ | | | | | | refactor String#truncate not to use mb_chars
| * | refactor String#truncate not to use mb_charsSergey Nartimov2012-01-041-6/+5
| | |