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…

    …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.
    josevalim committed Nov 23, 2011
  5. @josevalim
  6. @josevalim
  7. @josevalim

    Rely on a public contract between railties instead of accessing railt…

    …ie methods directly.
    josevalim committed Nov 23, 2011
  8. @josevalim
  9. @josevalim

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

    …e_key
    
    Issues/3737 AS::Cache.expand_cache_key
    josevalim committed Nov 23, 2011
  10. @josevalim

    Merge pull request #3735 from kennyj/fix_3728

    Fix #3728 Remove unreachable code, and add additional testcases.
    josevalim committed Nov 23, 2011
  11. @exviva

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

    …ons (part 2)
    
    `nil` and `false` both expand to `""` (empty string), while `true` expands to
    `"true"`; `false` should expand to `"false"`
    exviva committed Nov 23, 2011
  12. @exviva

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

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

    Merge pull request #3725 from marcandre/twz_eql

    Fix inconsistencies with Time{WithZone}#{hash,eql?}
    wycats committed Nov 22, 2011
  2. @wycats

    Merge pull request #3724 from marcandre/media_default

    stylesheet_tag default's media is "screen"
    wycats committed Nov 22, 2011
  3. @marcandre
  4. @marcandre

    Make explicit the default media when calling stylesheet_tag and chang…

    …e the default generators.
    marcandre committed Nov 22, 2011
  5. @josevalim

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

    javascript_include_tag should add '.js' to sources that contain '.'
    josevalim committed Nov 22, 2011
  6. @josevalim

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

    Show exceptions refactor: controller should be responsible for choice to show exceptions
    josevalim committed Nov 22, 2011
  7. @lest
  8. @lest
  9. @vijaydev

    remove nodoc on OrderedHash

    vijaydev committed Nov 22, 2011
  10. @lest
  11. @lest

    refactor show exceptions tests

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

    tests predicates according to the boolean interpretation of their ret…

    …urn value, not expecting specifically true or false
    
    Respecting Genuine assert_equal false Edition
    fxn committed Nov 21, 2011
  2. @josevalim

    Deprecate InstanceMethods namespace handling in ActiveSupport::Concern.

    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.
    josevalim committed Nov 21, 2011
  3. @fxn

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

    …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.
    fxn committed Nov 21, 2011
  4. @fxn

    tests predicates according to the boolean interpretation of their ret…

    …urn value, not expecting specifically true or false
    fxn committed Nov 21, 2011
  5. @fxn
  6. @fxn
  7. @fxn