Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 30, 2011
  1. @josevalim

    Revert "Implement ArraySerializer and move old serialization API to a…

    josevalim committed
    … new namespace."
    This reverts commit 8896b4f.
Commits on Nov 23, 2011
  1. @josevalim

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

    josevalim committed
    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.
Commits on Oct 5, 2011
  1. @bobbytables
Commits on Oct 4, 2011
  1. @bobbytables
Commits on Sep 22, 2011
  1. @josevalim

    Refactor AMo as_json.

    josevalim committed
  2. @mattetti

    fixed a bug with the json serialization when the class setting is set…

    mattetti committed
    … to not include the root, but an instance is serialized with the root option passed as true
Commits on Jul 2, 2011
  1. @joefiorini
Commits on Jun 3, 2011
  1. @vijaydev
Commits on Sep 7, 2010
  1. @mackuba @jeremy

    fixed some issues with JSON encoding

    mackuba committed with jeremy
    - as_json in ActiveModel should return a hash
      and handle :only/:except/:methods options
    - Array and Hash should call as_json on their elements
    - json methods should not modify options argument
    [#5374 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Aug 25, 2010
  1. @bensie

    to_json => as_json

    bensie committed
Commits on Aug 10, 2010
  1. @spastorino

    ActiveModel::Base doesn't exist, include_root_in_json is a class_attr…

    spastorino committed
    …ibute for the classes which includes this module
Commits on Aug 6, 2010
  1. @fxn
Commits on Jul 16, 2010
  1. @neerajdotname
Commits on Jun 14, 2010
  1. @rizwanreza
Commits on Jun 7, 2010
  1. @josevalim
Commits on May 4, 2010
  1. @rubymerchant @jeremy

    Active Model JSON serializer now supports custom root option

    rubymerchant committed with jeremy
    [#4515 state:committed]
    Signed-off-by: Jeremy Kemper <>
Commits on Jan 4, 2010
  1. @dhh
Commits on Aug 14, 2009
  1. @josh

    Break up concerns for choosing what attributes should be serialized a…

    josh committed
    …nd the actual serializer
Commits on Jul 21, 2009
  1. @josh

    Kill AMo ivar attributes helper

    josh committed
Commits on Jul 4, 2009
  1. @josh
  2. @josh
  3. @josh
Commits on Jun 18, 2009
  1. @josh

    Add basic JSON serializer to AMo

    josh committed
Something went wrong with that request. Please try again.