aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Merge pull request #4283 from lest/fix-singleton-checkingAaron Patterson2012-01-031-1/+1
| | | | use correct variant of checking whether class is a singleton
* add CHANGELOG entry for AS::Base64 deprecationSergey Nartimov2012-01-031-2/+4
|
* AS::Callbacks: remove __define_runnerBogdan Gusiev2012-01-031-16/+3
|
* Refactor AS::CallbacksBogdan Gusiev2012-01-031-6/+8
| | | | | Extracted `__reset_runner` from `__define_runner` And call it in proper places
* AS::Callbacks: improved __define_runner performanceBogdan Gusiev2012-01-031-3/+2
|
* AS::Callbacks: improve __define_runner perfomanceBogdan Gusiev2012-01-031-10/+11
|
* deprecate AS::Base64 methods without DeprecatedConstantProxySergey Nartimov2012-01-031-13/+18
|
* fix base64 requiresSergey Nartimov2012-01-033-2/+3
|
* deprecate ActiveSupport::Base64Sergey Nartimov2012-01-036-41/+48
| | | | extend and define ::Base64 if needed
* Merge pull request #4227 from gazay/3-2-stable-marshallingAaron Patterson2011-12-302-1/+26
|\ | | | | 3 2 stable marshalling
| * Backward compatibility with 3.1 cache storingAlexey Gaziev2011-12-292-1/+26
| |
* | adds a comments that clarifies why Range#include? chooses the comparison ↵Xavier Noria2011-12-301-0/+1
| | | | | | | | operator
* | refactor Range#include? to handle ranges with floatsSergey Nartimov2011-12-302-3/+6
| | | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/range/include_range.rb
* | fixing typo. Thanks Vijay!Aaron Patterson2011-12-291-1/+1
|/
* Revert "Merge pull request #4196 from gazay/3-2-stable-marshalling"Aaron Patterson2011-12-282-26/+1
| | | | | This reverts commit df3701872d6c97ff49943aea30761b47e60fa9fe, reversing changes made to a0fd9fb01730af12d66a27b5665cc010bd3b90b4.
* Revert "Further simplify singleton_class checking in class_attribute"Jon Leighton2011-12-281-1/+14
| | | | | | This reverts commit 520918aad9b84eee807eb42fcb32f57c152d50e0. Reason: build failure
* Merge pull request #4196 from gazay/3-2-stable-marshallingAaron Patterson2011-12-282-1/+26
|\ | | | | 3.2 stable marshalling
| * Safe getting value from cache entryAlexey Gaziev2011-12-272-1/+26
| |
* | Further simplify singleton_class checking in class_attributeJames Miller2011-12-281-14/+1
|/
* delegating and deprecating logger#silence. fixes #4159Aaron Patterson2011-12-243-16/+33
|