Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 26, 2012
  1. @jeremy
  2. @jeremy
Commits on Sep 20, 2012
  1. @carlosantoniodasilva
Commits on Sep 18, 2012
  1. @gregolsen

    Date.beginning_of_week thread local and beginning_of_week application…

    gregolsen authored
    … config option added (default is Monday)
Commits on Sep 17, 2012
  1. @larrylv

    set up config_accessor with a default value by block

    larrylv authored
    * ActiveSupport::Configurable should allow config_accessor to take
      default value by block, just like cattr_accessor.
    
        class User
          include ActiveSupport::Configurable
          config_accessor :hair_colors do
            [:brown, :black, :blonde, :red]
          end
        end
    
        User.hair_colors # => [:brown, :black, :blonde, :red]
    
    * remove trailing whitespaces in configurable.rb and its test file.
    
    * Update ActiveSupport CHANGELOG.
Commits on Sep 15, 2012
  1. @steveklabnik

    Deprecate ActiveSupport::Benchmarkable#silence.

    steveklabnik authored
    Due to its lack of thread safety, we're deprecating this, and it
    will be removed in Rails 4.1.
    
    Fixes #4060.
Commits on Sep 13, 2012
  1. @pranas

    Allow passing block to deep_merge and deep_merge!

    pranas authored
    Hash#merge accepts block that you can use to customize how hash values
    are merged. This change makes merge and deep_merge compatible.
  2. @rafaelfranca
  3. @LTe

    Change ActiveSupport::Deprecation to class.

    LTe authored
    ActiveSupport::Deprecation is now a class rather than a module. You can
    get instance of ActiveSupport::Deprecation calling #instance method.
    
      ActiveSupport::Deprecation.instance
    
    But when you need to get new object od ActiveSupport::Deprecation you
    need to just call #new.
    
      @instance = ActiveSupport::Deprecation.new
    
    Since you can create a new object, you can change the version and the
    name of the library where the deprecator concerned.
    
      ActiveSupport::Deprecation.new('2.0', 'MyGem')
    
    If you need use another deprecator instance you can select it in the
    options of deprecate method.
    
      deprecate :method, :deprecator => deprecator_instance
    
    Documentation has been updated.
Commits on Sep 10, 2012
  1. @bogdan

    Revert "Changelog entry for PR #7560"

    bogdan authored
    This reverts commit ca80067.
    Entry already added in 895233
  2. @bogdan

    Changelog entry for PR #7560

    bogdan authored
Commits on Sep 9, 2012
  1. @kalys
Commits on Sep 7, 2012
  1. @carlosantoniodasilva
  2. @carlosantoniodasilva
Commits on Sep 4, 2012
  1. @leocassarani

    Extend HashWithIndifferentAccess#update to take an optional block

    leocassarani authored
    When a block is passed into the method, it will be invoked for each
    duplicated key, with the key in question and the two values as
    arguments. The value for the duplicated key in the receiver will
    be set to the return value of the block.
    
    This behaviour matches Ruby's long-standing implementation of
    Hash#update and is intended to provide a more consistent interface.
    
    HashWithIndifferentAccess#merge is also affected by the change, as it
    uses #update internally.
Commits on Aug 28, 2012
  1. @fxn

    CHANGELOGs are now per branch

    fxn authored
    Changes in old branches needed to be manually synched in CHANGELOGs of newer ones.
    This has proven to be brittle, sometimes one just forgets this manual step.
    With this commit we switch to CHANGELOGs per branch. When a new major version is
    cut from master, the CHANGELOGs in master start being blank.
    
    A link to the CHANGELOG of the previous branch allows anyone interested to
    follow the history.
Commits on Aug 21, 2012
  1. @rafaelfranca
Commits on Aug 18, 2012
  1. @guilleiguaran

    Replace deprecated `memcache-client` gem with `dalli` in ActiveSuppor…

    guilleiguaran authored
    …t::Cache::MemCacheStore
    
    memcache-client was deprecated in favour of dalli in 2010.
Commits on Aug 11, 2012
  1. @rafaelfranca

    Sync CHANGELOGs [ci skip]

    rafaelfranca authored
  2. @carlosantoniodasilva

    Fallback to :en locale instead of handling a constant with defaults

    carlosantoniodasilva authored
    Action Pack already comes with a default locale fine for :en, that is
    always loaded. We can just fallback to this locale for defaults, if
    values for the current locale cannot be found.
    
    Closes #4420, #2802, #2890.
  3. @carlosantoniodasilva

    Bring back changelog entries for Active Support

    carlosantoniodasilva authored
    Removed in 0228a73, pull request #7310.
Commits on Aug 9, 2012
  1. @amerine
Commits on Aug 7, 2012
  1. @rafaelfranca

    Deprecate ActiveSupport::JSON::Variable

    Erich Menge authored rafaelfranca committed
    Reason: ActiveSupport::JSON::Variable is not used anymore internally. It
    was deprecated in 3-2-stable but we reverted all the deprecation for
    point releases.
    
    See #6536 and #6546.
    Conflicts:
    	activesupport/lib/active_support/json/variable.rb
  2. @fxn
Commits on Jul 31, 2012
  1. @josevalim
Commits on Jul 27, 2012
  1. @dhh
  2. @dhh

    will now return nil instead of raise a NoMethodError if the receivin…

    dhh authored
    …g object does not implement the method
Commits on Jul 3, 2012
  1. @carlosantoniodasilva

    Update 4.0 Release Notes with changelogs [ci skip]

    carlosantoniodasilva authored
    Also fix some wrong formatting.
    
    Related discussion:
    rails/rails@ab72040#commitcomment-1525256
Commits on Jul 1, 2012
  1. @pixeltrix

    Make Time#change work with offsets other than UTC or local

    pixeltrix authored
    Use Time.new to create times where the current offset is not zero or
    not in the local time zone - closes #4847 and #6651.
Commits on Jun 26, 2012
  1. @bogdan

    AS::Callbacks: deprecate monkey patch code

    bogdan authored
    Deprecate usage of filter object with #before and #after
    methods as around callback
Commits on Jun 20, 2012
  1. @carlosantoniodasilva

    Add prev_quarter and next_quarter method in Time/Date/DateTime

    paranoiase Kang authored carlosantoniodasilva committed
Commits on Jun 9, 2012
  1. @fxn

    removes the obsolete require_association method from dependencies

    fxn authored
    This is an obsolete method from the very early days,
    apparently it was used circa 2004 because STI support
    was not smart enough. This method is not public
    interface, and we are heading a major version, so
    removal seems right.
Commits on Jun 5, 2012
  1. @frodsan

    add instance_accessor option to ActiveSupport::Configurable#config_ac…

    frodsan authored
    …cessor
    
    Changes:
    
    * Add `instance_accessor` option to opt out of the instance writer and
      instance reader methods.
    * Raises a NameError if the name of the attribute is not valid.
    * Update documentation and tests.
    * Add CHANGELOG entry in activesupport.
Commits on Jun 1, 2012
  1. @rafaelfranca
Commits on May 30, 2012
  1. Remove deprecated ActiveSupport::JSON::Variable.

    Erich Menge authored
Something went wrong with that request. Please try again.