Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | sync __run_callbacks with ruby-trunk | Sokolov Yura | 2012-02-20 | 1 | -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 uses | Eric Oestrich | 2012-02-18 | 1 | -1/+1 |
| | | | | [ci skip] | ||||
* | Fix deprecation warning in AS::Concern. | José Valim | 2012-02-13 | 1 | -1/+1 |
| | |||||
* | GH #4883. Optional start_day argument for Time#all_week | kennyj | 2012-02-05 | 1 | -3/+3 |
| | |||||
* | Merge pull request #4793 from kennyj/fix_4760 | José Valim | 2012-01-31 | 1 | -2/+3 |
|\ | | | | | [3-2-stable] Fix GH #4760. A Block was not evaluated. | ||||
| * | Fix GH #4760. A Block was not evaluated. | kennyj | 2012-01-31 | 1 | -2/+3 |
| | | |||||
* | | Fix use of Deprecation without requiring active_support/deprecation in whiny nil | Marten Veldthuis | 2012-01-31 | 1 | -0/+2 |
| | | |||||
* | | Fix use of Deprecation without requiring active_support/deprecation in ↵ | Marten Veldthuis | 2012-01-31 | 1 | -0/+1 |
| | | | | | | | | message verifier | ||||
* | | Fix use of Deprecation without requiring active_support/deprecation in ↵ | Marten Veldthuis | 2012-01-31 | 1 | -0/+2 |
| | | | | | | | | ActiveSupport::Concern in Base64 | ||||
* | | Fix use of Deprecation without requiring active_support/deprecation in ↵ | Marten Veldthuis | 2012-01-31 | 1 | -0/+2 |
|/ | | | | ActiveSupport::Concern | ||||
* | fix typo [ci skip] | Vijay Dev | 2012-01-30 | 1 | -1/+1 |
| | |||||
* | Inline the prefix assignment so it doesnt look so daft | David Heinemeier Hansson | 2012-01-27 | 1 | -2/+1 |
| | |||||
* | Revert "Fix expanding cache key for single element arrays" | David Heinemeier Hansson | 2012-01-27 | 1 | -1/+1 |
| | | | | | | 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_VERSION | Xavier Noria | 2012-01-26 | 1 | -1/+1 |
| | |||||
* | safe_constantize should handle wrong constant name NameErrors Fixes #4710 | Alex Tambellini | 2012-01-26 | 1 | -1/+1 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | global variables may not be set depending on the match. fixes #4703 | Aaron Patterson | 2012-01-26 | 1 | -1/+4 |
| | |||||
* | Merge pull request #4675 from lunks/3-2-stable | Aaron Patterson | 2012-01-25 | 1 | -1/+1 |
|\ | | | | | Duping log handler on buffered logger silencer. | ||||
| * | Duping log handler. fixes #4668 | Pedro Nascimento | 2012-01-25 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #4673 from carlosantoniodasilva/validation-guides-update-3-2 | Vijay Dev | 2012-01-25 | 2 | -8/+8 |
|\ \ | |/ |/| | Validation guides update 3 2 | ||||
| * | Change ActiveRecord::Errors to ActiveModel::Errors in guides | Carlos Antonio da Silva | 2012-01-25 | 2 | -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_offets | Aaron Patterson | 2012-01-24 | 1 | -1/+1 |
| | | | | | | | | Update time zone offset information | ||||
* | | Fix GH #4344. A defined callback in extended module is called too. | kennyj | 2012-01-24 | 1 | -1/+1 |
| | | | | | | | | | | | | Conflicts: activesupport/test/callbacks_test.rb | ||||
* | | The deprecated ActiveSupport::Base64.decode64 method should call ↵ | Jonathan Viney | 2012-01-23 | 1 | -1/+1 |
| | | | | | | | | ::Base64.decode64 not ::Base64.encode64 | ||||
* | | Fix GH #4580. Rails 3.2: uninitialized constant ↵ | kennyj | 2012-01-22 | 1 | -1/+1 |
| | | | | | | | | ActiveSupport::TaggedLogging::ERROR | ||||
* | | Preparing for 3.2.0 release | David Heinemeier Hansson | 2012-01-20 | 1 | -1/+1 |
|/ | |||||
* | Pass a symbol instead of a block. This is faster and more concise. | Semyon Perepelitsa | 2012-01-15 | 1 | -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 subscribers | Xavier Noria | 2012-01-12 | 1 | -0/+4 |
| | |||||
* | fixes in api docs | Vijay Dev | 2012-01-13 | 2 | -4/+4 |
| | |||||
* | Bump to rc2 | Santiago Pastorino | 2012-01-04 | 1 | -1/+1 |
| | |||||
* | Revert "AS::Callbacks: remove __define_runner" | José Valim | 2012-01-04 | 1 | -3/+16 |
| | | | | | | Runners are used internally. This reverts commit 40c8aa706adbb60ff9d289016fb9020d48969fea. | ||||
* | Merge pull request #4283 from lest/fix-singleton-checking | Aaron Patterson | 2012-01-03 | 1 | -1/+1 |
| | | | | use correct variant of checking whether class is a singleton | ||||
* | AS::Callbacks: remove __define_runner | Bogdan Gusiev | 2012-01-03 | 1 | -16/+3 |
| | |||||
* | Refactor AS::Callbacks | Bogdan Gusiev | 2012-01-03 | 1 | -6/+8 |
| | | | | | Extracted `__reset_runner` from `__define_runner` And call it in proper places | ||||
* | AS::Callbacks: improved __define_runner performance | Bogdan Gusiev | 2012-01-03 | 1 | -3/+2 |
| | |||||
* | AS::Callbacks: improve __define_runner perfomance | Bogdan Gusiev | 2012-01-03 | 1 | -10/+11 |
| | |||||
* | deprecate AS::Base64 methods without DeprecatedConstantProxy | Sergey Nartimov | 2012-01-03 | 1 | -13/+18 |
| | |||||
* | fix base64 requires | Sergey Nartimov | 2012-01-03 | 3 | -2/+3 |
| | |||||
* | deprecate ActiveSupport::Base64 | Sergey Nartimov | 2012-01-03 | 4 | -36/+41 |
| | | | | extend and define ::Base64 if needed | ||||
* | Merge pull request #4227 from gazay/3-2-stable-marshalling | Aaron Patterson | 2011-12-30 | 1 | -1/+11 |
|\ | | | | | 3 2 stable marshalling | ||||
| * | Backward compatibility with 3.1 cache storing | Alexey Gaziev | 2011-12-29 | 1 | -1/+11 |
| | | |||||
* | | adds a comments that clarifies why Range#include? chooses the comparison ↵ | Xavier Noria | 2011-12-30 | 1 | -0/+1 |
| | | | | | | | | operator | ||||
* | | refactor Range#include? to handle ranges with floats | Sergey Nartimov | 2011-12-30 | 1 | -3/+2 |
| | | | | | | | | | | | | Conflicts: activesupport/lib/active_support/core_ext/range/include_range.rb | ||||
* | | fixing typo. Thanks Vijay! | Aaron Patterson | 2011-12-29 | 1 | -1/+1 |
|/ | |||||
* | Revert "Merge pull request #4196 from gazay/3-2-stable-marshalling" | Aaron Patterson | 2011-12-28 | 1 | -11/+1 |
| | | | | | This reverts commit df3701872d6c97ff49943aea30761b47e60fa9fe, reversing changes made to a0fd9fb01730af12d66a27b5665cc010bd3b90b4. | ||||
* | Revert "Further simplify singleton_class checking in class_attribute" | Jon Leighton | 2011-12-28 | 1 | -1/+14 |
| | | | | | | This reverts commit 520918aad9b84eee807eb42fcb32f57c152d50e0. Reason: build failure | ||||
* | Merge pull request #4196 from gazay/3-2-stable-marshalling | Aaron Patterson | 2011-12-28 | 1 | -1/+11 |
|\ | | | | | 3.2 stable marshalling | ||||
| * | Safe getting value from cache entry | Alexey Gaziev | 2011-12-27 | 1 | -1/+11 |
| | | |||||
* | | Further simplify singleton_class checking in class_attribute | James Miller | 2011-12-28 | 1 | -14/+1 |
|/ | |||||
* | delegating and deprecating logger#silence. fixes #4159 | Aaron Patterson | 2011-12-24 | 2 | -0/+8 |
| | |||||
* | Revert "Added Enumerable#pluck to wrap the common pattern of ↵ | Aaron Patterson | 2011-12-22 | 1 | -7/+0 |
| | | | | | | collect(&:method) *DHH*" This reverts commit 4d20de8a50d889a09e6f5642984775fe796ca943. |