Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 23, 2011
  1. @josevalim
  2. @josevalim

    Implement ArraySerializer and move old serialization API to a new nam…

    josevalim authored
    …espace.
    
    The following constants were renamed:
    
      ActiveModel::Serialization     => ActiveModel::Serializable
      ActiveModel::Serializers::JSON => ActiveModel::Serializable::JSON
      ActiveModel::Serializers::Xml  => ActiveModel::Serializable::XML
    
    The main motivation for such a change is that `ActiveModel::Serializers::JSON`
    was not actually a serializer, but a module that when included allows the target to be serializable to JSON.
    
    With such changes, we were able to clean up the namespace to add true serializers as the ArraySerializer.
  3. @josevalim
  4. @josevalim
  5. @josevalim
  6. @exviva

    Fix #3737 AS::expand_cache_key generates wrong key in certain situati…

    exviva authored
    …ons (part 2)
    
    `nil` and `false` both expand to `""` (empty string), while `true` expands to
    `"true"`; `false` should expand to `"false"`
  7. @exviva

    Fix #3737 AS::expand_cache_key generates wrong key in certain situations

    exviva authored
    `cache_key` method is never called when the argument is a 1-element array
    with something that responds to `cache_key`
Commits on Nov 22, 2011
  1. @wycats

    Merge pull request #3725 from marcandre/twz_eql

    wycats authored
    Fix inconsistencies with Time{WithZone}#{hash,eql?}
  2. @marcandre
  3. @vijaydev

    remove nodoc on OrderedHash

    vijaydev authored
Commits on Nov 21, 2011
  1. @josevalim

    Deprecate InstanceMethods namespace handling in ActiveSupport::Concern.

    josevalim authored
    This avoids the unnecessary "yo dawg, I heard you like include, so I put a module that includes your module when it is included" approach when building extensions.
  2. @fxn

    Revert "tests predicates according to the boolean interpretation of t…

    fxn authored
    …heir return value, not expecting specifically true or false"
    
    Reason: there were some genuine tests for false when
    reading values, going to revise those ones.
    
    This reverts commit a539a5e.
  3. @fxn

    tests predicates according to the boolean interpretation of their ret…

    fxn authored
    …urn value, not expecting specifically true or false
  4. @fxn
  5. @fxn
  6. @fxn
Commits on Nov 19, 2011
  1. @spastorino

    Merge pull request #3668 from gregolsen/api_docstring_fix

    spastorino authored
    updating API docstring so that user can infer default value
Commits on Nov 17, 2011
  1. @parndt

    Fixed typo: expect -> expected

    parndt authored
  2. @gregolsen
Commits on Nov 13, 2011
  1. @vijaydev
  2. @chuyeow
Commits on Nov 11, 2011
  1. @bogdan
  2. @vijaydev

    Revert "Fix "in memory" where it should be "in-memory"."

    vijaydev authored
    This reverts commit e34e4d4.
    
    Reason: code changes are not allowed in docrails.
  3. @chuyeow
  4. @chuyeow
Commits on Nov 10, 2011
  1. @bogdan
  2. @josevalim
  3. @josevalim

    Merge pull request #3593 from bogdan/callbacks

    josevalim authored
    AS::Callbacks._define_runner better abstraction
  4. @bogdan

    AS::Callbacks#_define_runner refactored

    bogdan authored
    Incapsulate the logic of keyed callback method definition and execution
    in the separated method.
Commits on Nov 9, 2011
  1. @josevalim
  2. @josevalim
Commits on Nov 8, 2011
  1. @vijaydev
Commits on Nov 6, 2011
  1. @vijaydev

    fix typo

    vijaydev authored
  2. @josevalim

    Merge pull request #3537 from dvyjones/refactor-pluralize-singularize

    josevalim authored
    Refactored pluralize and singularize into a common method
  3. @henrikhodne

    Refactored pluralize and singularize into a common method.

    henrikhodne authored
    See diff discussion on rails/#3536.
Something went wrong with that request. Please try again.