Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 20, 2012
  1. @dhh

    Preparing for 3.2.0 release

    dhh authored
Commits on Jan 15, 2012
  1. @semaperepelitsa

    Pass a symbol instead of a block. This is faster and more concise.

    semaperepelitsa authored
    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)
    ```
Commits on Jan 12, 2012
  1. @fxn
  2. @vijaydev

    fixes in api docs

    vijaydev authored
Commits on Jan 4, 2012
  1. @spastorino

    Bump to rc2

    spastorino authored
  2. @josevalim

    Revert "AS::Callbacks: remove __define_runner"

    josevalim authored
    Runners are used internally.
    
    This reverts commit 40c8aa7.
Commits on Jan 3, 2012
  1. @tenderlove

    Merge pull request #4283 from lest/fix-singleton-checking

    tenderlove authored
    use correct variant of checking whether class is a singleton
  2. @bogdan @lest

    AS::Callbacks: remove __define_runner

    bogdan authored lest committed
  3. @bogdan @lest

    Refactor AS::Callbacks

    bogdan authored lest committed
    Extracted `__reset_runner` from `__define_runner`
    And call it in proper places
  4. @bogdan @lest

    AS::Callbacks: improved __define_runner performance

    bogdan authored lest committed
  5. @bogdan @lest

    AS::Callbacks: improve __define_runner perfomance

    bogdan authored lest committed
  6. @lest
Commits on Jan 2, 2012
  1. @lest

    fix base64 requires

    lest authored
  2. @lest

    deprecate ActiveSupport::Base64

    lest authored
    extend and define ::Base64 if needed
Commits on Dec 30, 2011
  1. @tenderlove

    Merge pull request #4227 from gazay/3-2-stable-marshalling

    tenderlove authored
    3 2 stable marshalling
  2. @fxn
  3. @lest @fxn

    refactor Range#include? to handle ranges with floats

    lest authored fxn committed
    Conflicts:
    
    	activesupport/lib/active_support/core_ext/range/include_range.rb
Commits on Dec 29, 2011
  1. @tenderlove

    fixing typo. Thanks Vijay!

    tenderlove authored
  2. @gazay
  3. @tenderlove

    Revert "Merge pull request #4196 from gazay/3-2-stable-marshalling"

    tenderlove authored
    This reverts commit df37018, reversing
    changes made to a0fd9fb.
Commits on Dec 28, 2011
  1. @jonleighton

    Revert "Further simplify singleton_class checking in class_attribute"

    jonleighton authored
    This reverts commit 520918a.
    
    Reason: build failure
  2. @tenderlove

    Merge pull request #4196 from gazay/3-2-stable-marshalling

    tenderlove authored
    3.2 stable marshalling
  3. @bensie @tenderlove
Commits on Dec 27, 2011
  1. @gazay
Commits on Dec 24, 2011
  1. @tenderlove
Commits on Dec 22, 2011
  1. @tenderlove

    Revert "Added Enumerable#pluck to wrap the common pattern of collect(…

    tenderlove authored
    …&:method) *DHH*"
    
    This reverts commit 4d20de8.
Commits on Dec 20, 2011
  1. @dhh

    Party like its R-C-UNO!

    dhh authored
Commits on Dec 16, 2011
  1. @josevalim

    Merge pull request #4007 from exviva/expand_cache_key_for_one_element…

    josevalim authored
    …_array
    
    Fix expanding cache key for single element arrays
  2. @exviva

    Fix expanding cache key for single element arrays

    exviva authored
    In short:
    expand_cache_key(element) should not equal expand_cache_key([element])
    
    This way a fragment cache key for an index page with only a single
    element in the collection is different than a fragment cache for a
    typical show page for that element.
Commits on Dec 13, 2011
  1. @josevalim

    Merge pull request #3963 from lest/logger-missing-require

    josevalim authored
    missing require in buffered logger
  2. @josevalim
  3. @lest
  4. @josevalim
Commits on Dec 12, 2011
  1. @josevalim

    Merge pull request #3954 from bdurand/null_store_2

    josevalim authored
    Add ActiveSupport::Cache::NullStore for testing and development
  2. @josevalim

    Speed up development by only reloading classes if dependencies files …

    josevalim authored
    …changed.
    
    This can be turned off by setting `config.reload_classes_only_on_change` to false.
    
    Extensions like Active Record should add their respective files like db/schema.rb and db/structure.sql to `config.watchable_files` if they want their changes to affect classes reloading.
    
    Thanks to https://github.com/paneq/active_reload and Pastorino for the inspiration. <3
Something went wrong with that request. Please try again.