aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
...
* Bumping to 3.2.3.rc1Santiago Pastorino2012-03-271-2/+2
|
* Ensure load hooks can be called more than once with different contexts.José Valim2012-03-172-6/+35
|
* Fix my name in the CHANGELOG to follow the conventionRafael Mendonça França2012-03-091-0/+1
| | | | Also add missing entries and use the formating convention
* update changelogs for gems without changes too [ci skip]Vijay Dev2012-03-091-0/+8
|
* 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 '3-2-2' into 3-2-stableAaron Patterson2012-03-013-26/+61
|\ | | | | | | | | | | | | | | | | | | | | | | | | * 3-2-2: bumping to 3.2.2 Ensure [] respects the status of the buffer. Merge pull request #4834 from sskirby/fix_usage_of_psql_in_db_test_prepare Merge pull request #5084 from johndouthat/patch-1 updating RAILS_VERSION 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
| * bumping to 3.2.2Aaron Patterson2012-03-011-1/+1
| |
| * Merge branch '3-2-stable-security' into 3-2-2Aaron Patterson2012-03-012-25/+60
| |\ | | | | | | | | | | | | | | | | | | | | | | | | * 3-2-stable-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
| | * Ensure [] respects the status of the buffer.José Valim2012-02-292-17/+49
| | |
| | * delete vulnerable AS::SafeBuffer#[]Akira Matsuda2012-02-202-12/+0
| | |
| | * add AS::SafeBuffer#clone_emptyAkira Matsuda2012-02-202-0/+15
| | |
| * | updating RAILS_VERSIONAaron Patterson2012-02-221-2/+2
| | |
* | | call binmode on the tempfile for Ruby 1.8 compatibilityAaron Patterson2012-02-271-1/+2
| | |
* | | Fixing Windows asset tag helper test failureRalph Shnelvar2012-02-251-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | In asset_tag_helper_test.rb there is an assert on the number of bytes in a concatenated file. This test failed because Windows converts \n to \r\n as the default for "w". This is different than in *nix systems where there is no conversion done. THe test that failed was test_caching_stylesheet_link_tag_when_caching_on Using bin mode fixes this behavior on windows and makes no change on the *nix systems.
* / Fix some warnings on 3-2-stablekennyj2012-02-211-1/+1
|/
* sync __run_callbacks with ruby-trunkSokolov Yura2012-02-201-1/+1
| | | | | | https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/34580 In this revision behavior of respond_to? had changed: now to ask about protected method one should pass second argument `true`
* Update Time#change docs to reflect the options it usesEric Oestrich2012-02-181-1/+1
| | | | [ci skip]
* Fixes failing test with ruby 1.8.7-p358Arun Agrawal2012-02-171-2/+2
| | | Same as 91a9b2441783de118a2f9ec11b0aa3ae80133d91
* Fix deprecation warning in AS::Concern.José Valim2012-02-131-1/+1
|
* GH #4883. Optional start_day argument for Time#all_weekkennyj2012-02-052-3/+4
|
* Merge pull request #4793 from kennyj/fix_4760José Valim2012-01-312-2/+11
|\ | | | | [3-2-stable] Fix GH #4760. A Block was not evaluated.
| * Fix GH #4760. A Block was not evaluated.kennyj2012-01-312-2/+11
| |
* | Fix use of Deprecation without requiring active_support/deprecation in whiny nilMarten Veldthuis2012-01-311-0/+2
| |
* | Fix use of Deprecation without requiring active_support/deprecation in ↵Marten Veldthuis2012-01-311-0/+1
| | | | | | | | message verifier
* | Fix use of Deprecation without requiring active_support/deprecation in ↵Marten Veldthuis2012-01-311-0/+2
| | | | | | | | ActiveSupport::Concern in Base64
* | Fix use of Deprecation without requiring active_support/deprecation in ↵Marten Veldthuis2012-01-311-0/+2
|/ | | | ActiveSupport::Concern
* fix typo [ci skip]Vijay Dev2012-01-301-1/+1
|
* Inline the prefix assignment so it doesnt look so daftDavid Heinemeier Hansson2012-01-271-2/+1
|
* Revert "Fix expanding cache key for single element arrays"David Heinemeier Hansson2012-01-272-16/+8
| | | | | | This reverts commit abe915f23777efe10f17d611bf5718ca855a0704. This broke all existing keys and it's wrong anyway. The array is just there as a convenience option for building the string. It's intentional that [ "stuff"] and "stuff" generates the same key.
* updating RAILS_VERSIONXavier Noria2012-01-261-1/+1
|
* CHANGELOG revision for v3.2.1Xavier Noria2012-01-261-0/+12
|
* safe_constantize should handle wrong constant name NameErrors Fixes #4710Alex Tambellini2012-01-262-3/+4
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* global variables may not be set depending on the match. fixes #4703Aaron Patterson2012-01-262-1/+8
|
* Merge pull request #4675 from lunks/3-2-stableAaron Patterson2012-01-251-1/+1
|\ | | | | Duping log handler on buffered logger silencer.
| * Duping log handler. fixes #4668Pedro Nascimento2012-01-251-1/+1
| |
* | Merge pull request #4673 from carlosantoniodasilva/validation-guides-update-3-2Vijay Dev2012-01-252-8/+8
|\ \ | |/ |/| Validation guides update 3 2
| * Change ActiveRecord::Errors to ActiveModel::Errors in guidesCarlos Antonio da Silva2012-01-252-8/+8
| | | | | | | | | | | | | | 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 #4514 from brainopia/update_timezone_offetsAaron Patterson2012-01-241-1/+1
| | | | | | | | Update time zone offset information
* | Fix GH #4344. A defined callback in extended module is called too.kennyj2012-01-242-5/+62
| | | | | | | | | | | | Conflicts: activesupport/test/callbacks_test.rb
* | test base64 encode and decodeVijay Dev2012-01-231-0/+9
| |
* | The deprecated ActiveSupport::Base64.decode64 method should call ↵Jonathan Viney2012-01-231-1/+1
| | | | | | | | ::Base64.decode64 not ::Base64.encode64
* | Remove deprecation warning from console output when runningWaseem Ahmad2012-01-221-1/+3
| | | | | | | | activesupport tests.
* | Fix GH #4580. Rails 3.2: uninitialized constant ↵kennyj2012-01-222-1/+5
| | | | | | | | ActiveSupport::TaggedLogging::ERROR
* | Preparing for 3.2.0 releaseDavid Heinemeier Hansson2012-01-202-2/+2
|/
* Pass a symbol instead of a block. This is faster and more concise.Semyon Perepelitsa2012-01-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At least Ruby 1.8.7 is required which is ok since 3.2. Benchmark: ```ruby require "benchmark" enum = 1..10_000 N = 100 Benchmark.bm do |x| x.report "inject block" do N.times do enum.inject { |sum, n| sum + n } end end x.report "inject symbol" do N.times do enum.inject(:+) end end end ``` Result: ``` user system total real inject block 0.160000 0.000000 0.160000 ( 0.179723) inject symbol 0.090000 0.000000 0.090000 ( 0.095667) ```
* warns against using temporary subscribersXavier Noria2012-01-121-0/+4
|
* fixes in api docsVijay Dev2012-01-132-4/+4
|
* Merge pull request #4412 from kennyj/fix_3743Santiago Pastorino2012-01-111-0/+2
| | | | Fix GH #3743. We must specify an encoding in rdoc_option explicitly.
* Bump to rc2Santiago Pastorino2012-01-041-1/+1
|
* Revert "AS::Callbacks: remove __define_runner"José Valim2012-01-041-3/+16
| | | | | | Runners are used internally. This reverts commit 40c8aa706adbb60ff9d289016fb9020d48969fea.