Skip to content
This repository

Apr 18, 2014

  1. Ernie Miller

    Fix inconsistent behavior from String#first/#last

    While calling String#first or String#last with zero or a Fixnum < the
    string's length returns a new string, a Fixnum >= the string's length
    returns the string itself. This inconsistency can lead to inadvertent
    mutation of a string.
    ernie authored
  2. Vijay Dev

    Merge branch 'master' of github.com:rails/docrails

    vijaydev authored

Apr 15, 2014

  1. Akshay Vishnoi

    Object#duplicable?

    1. Improve tests
    2. Remove unnecessary constant
    3. Add docs for BigDecimal#duplicable?

Apr 11, 2014

  1. Steven Harman

    Correct docs as singlton true is not returned here

    [ci skip]
    stevenharman authored
  2. Steven Harman

    Document LoadError core extensions

    [ci skip]
    stevenharman authored
  3. Rafael Mendonça França

    Merge pull request #14646 from deivid-rodriguez/provide_byebug_by_def…

    …ault
    
    Improve debugging support
    rafaelfranca authored
  4. Akshay Vishnoi

    Add more test case for #demodulize, Improve documentation

Apr 08, 2014

  1. David Rodríguez

    Keep debugger support only for rubies < 2.0.0

Apr 07, 2014

  1. Steven Harman

    Add documentation for Thread#freeze

    stevenharman authored

Apr 04, 2014

  1. Rafael Mendonça França

    Merge pull request #12016 from roderickvd/uuid_fixes

    Auto-generate stable fixture UUIDs on PostgreSQL
    
    Conflicts:
    	activerecord/CHANGELOG.md
    	activerecord/lib/active_record/fixtures.rb
    	activerecord/test/cases/adapters/postgresql/uuid_test.rb
    	activesupport/CHANGELOG.md
    rafaelfranca authored

Apr 02, 2014

  1. Carlos Antonio da Silva

    Move require to actual file

    Change to require all active_support/deprecation since that's the actual
    entry point for the deprecation methods.
  2. Pavel Pravosud

    DRY AS::SafeBuffer a bit using existing helper

    rwz authored

Apr 01, 2014

  1. Pavel Pravosud

    Make AS::SafeBuffer#prepend act like String#prepend

    Make `#prepend` method modify instance in-place and return self
    instead of just returning modified value. That is exactly what
    `#prepend!` method was doing previously, so it's deprecated from
    now on.
    rwz authored

Mar 20, 2014

  1. Akshay Vishnoi

    Deprecate Class#superclass_delegating_accessor

Mar 15, 2014

  1. Zoltan Kiss

    Minor grammer, code conventions fix [ci skip]

    Conflicts:
    	activesupport/lib/active_support/core_ext/hash/conversions.rb
    zoltankiss authored arthurnn committed
  2. Jeremy Kemper

    Remove deprecation on active_support/core_ext/class/attribute_accesso…

    …rs requires. Appropriate to keep this, users don't care that the implementation got unified.
    jeremy authored

Mar 14, 2014

  1. Sammy Larbi

    Fix #to_json for BasicObject Enumerables

    codeodor authored

Feb 27, 2014

  1. Carlos Antonio da Silva

    Fix concerning module reference [ci skip]

Feb 24, 2014

  1. David Heinemeier Hansson

    Go with #presence_in instead of #present_in -- it doesnt sound quite …

    …as good, but the closer relationship to #presence over #present is ultimately worth it
    dhh authored

Feb 23, 2014

  1. Jeremy Kemper

    Introduce Concern#class_methods and Kernel#concern

    jeremy authored

Feb 19, 2014

  1. Xavier Noria

    Merge pull request #14102 from arthurnn/quietly_doc

    Add note to silence_stream and quietly. [skip ci]
    fxn authored
  2. Arthur Nogueira Neves

    Methods silence_stream/quietly are not thread-safe [skip ci]

    State that on the doc.
    
    [fixes #11954]
    arthurnn authored

Feb 18, 2014

  1. David Heinemeier Hansson

    Added Object#present_in to simplify value whitelisting

    dhh authored

Feb 09, 2014

  1. Vijay Dev

    Merge branch 'master' of github.com:rails/docrails

    Conflicts:
    	guides/source/active_record_validations.md
    	guides/source/api_documentation_guidelines.md
    	guides/source/configuring.md
    vijaydev authored
  2. Zachary Scott

    Fix grammar of internal comment and modify it's location

    zzak authored

Feb 06, 2014

  1. Rafael Mendonça França

    Fix to_query with empty arrays too

    rafaelfranca authored
  2. Rafael Mendonça França

    Refatoring the method to avoid shot-circuit return

    rafaelfranca authored
  3. Petru Hincu

    Fixed "Hash#to_param confused by empty hash values #13892"

    hpetru authored rafaelfranca committed

Feb 05, 2014

  1. Marc-André Lafortune

    Return sized enumerator from Enumerable#index_by

    marcandre authored
  2. Marc-André Lafortune

    Return sized enumerator from Batches#find_each

    marcandre authored

Feb 01, 2014

  1. Rafael Mendonça França

    Fix isolated tests

    rafaelfranca authored
  2. David Celis

    Remove BigDecimal#to_d

    This was backported for Ruby 1.8 support and is no longer needed.
    
    Signed-off-by: David Celis <me@davidcel.is>
    davidcelis authored
  3. David Celis

    Don't require BigDecimal serialization extension

    Rails currently provides an extension to BigDecimal that redefines how
    it is serialized to YAML. However, as noted in #12467, this does not
    work as expected. When ActiveSupport is required, BigDecimal YAML
    serialization does not maintain the object type. It instead ends up
    serializing the number represented by the BigDecimal itself which, when
    loaded by YAML later, becomes a Float:
    
    ```ruby
    require 'yaml'
    require 'bigdecimal'
    
    yaml = BigDecimal('13.37').to_yaml
    YAML.load(yaml).class
    
    require 'active_support/all'
    
    yaml = BigDecimal('13.37').to_yaml
    YAML.load(yaml).class
    ```
    
    @tenderlove posits that we should deprecate the custom BigDecimal
    serialization and let Ruby handle it. For the time being, users who
    require this serialization for backwards compatibility can manually
    `require 'active_support/core_ext/big_decimal/yaml_conversions'`.
    
    This will close #12467 and deprecate the custom BigDecimal#to_yaml.
    
    Signed-off-by: David Celis <me@davidcel.is>
    davidcelis authored

Jan 30, 2014

  1. Yves Senn

    fix typo and indent. [ci skip]

    senny authored

Jan 26, 2014

  1. Andrew White

    Add support for JSON time_precision to Time and DateTime

    pixeltrix authored
Something went wrong with that request. Please try again.