Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: serializers
Commits on Nov 25, 2011
  1. @josevalim
  2. @josevalim
  3. @josevalim
Commits on Nov 23, 2011
  1. @josevalim
  2. @josevalim
  3. @josevalim
  4. @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.
  5. @josevalim
  6. @josevalim
  7. @josevalim
  8. @josevalim
  9. @josevalim

    Merge pull request #3738 from exviva/issues/3737_AS_cache_expand_cach…

    josevalim authored
    …e_key
    
    Issues/3737 AS::Cache.expand_cache_key
  10. @josevalim

    Merge pull request #3735 from kennyj/fix_3728

    josevalim authored
    Fix #3728 Remove unreachable code, and add additional testcases.
  11. @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"`
  12. @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`
  13. @kennyj
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. @wycats

    Merge pull request #3724 from marcandre/media_default

    wycats authored
    stylesheet_tag default's media is "screen"
  3. @marcandre
  4. @marcandre
  5. @josevalim

    Merge pull request #3718 from lest/fix-javascript-include-tag

    josevalim authored
    javascript_include_tag should add '.js' to sources that contain '.'
  6. @josevalim

    Merge pull request #3717 from lest/show-exceptions-refactor

    josevalim authored
    Show exceptions refactor: controller should be responsible for choice to show exceptions
  7. @lest
  8. @lest
  9. @vijaydev

    remove nodoc on OrderedHash

    vijaydev authored
  10. @lest
  11. @lest

    refactor show exceptions tests

    lest authored
  12. @lest
Commits on Nov 21, 2011
  1. @fxn

    tests predicates according to the boolean interpretation of their ret…

    fxn authored
    …urn value, not expecting specifically true or false
    
    Respecting Genuine assert_equal false Edition
  2. @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.
  3. @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.
  4. @fxn

    tests predicates according to the boolean interpretation of their ret…

    fxn authored
    …urn value, not expecting specifically true or false
  5. @fxn
  6. @fxn
  7. @fxn
Something went wrong with that request. Please try again.