Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 12, 2012
  1. Tee Parham
Commits on Jun 5, 2012
  1. alindeman
  2. Yehuda Katz

    Fix the tests

    wycats authored
  3. Yehuda Katz

    Merge pull request #62 from highgroove/cleanup_scope_instance_variables

    wycats authored
    Remove left over references to scope instance variable
  4. Yehuda Katz

    Merge pull request #65 from teeparham/array-root

    wycats authored
    use :root option in render :json
Commits on May 30, 2012
  1. Tee Parham

    support different serializations in ArraySerializer

    teeparham authored
    ArraySerializer can serialize arrays of Hash, ActiveModel::Serializer,
    or any PORO that responds to :as_json
    
    Each item in the array should not include its type as a root element,
    since normal arrays do not do this. If you want "typed" collections,
    don't use an Array.
  2. Tee Parham

    rename test methods so tests run

    teeparham authored
    incidentally test_array_serializer_with_root fails
  3. Tee Parham

    delete identical test

    teeparham authored
Commits on May 18, 2012
  1. Tee Parham

    use :root option in render :json

    teeparham authored
    ArraySerializer can now render arrays with no root
Commits on May 17, 2012
  1. José Valim

    Fix the build on 1.8.7 :trollface:

    josevalim authored
  2. José Valim
  3. Patrick Van Stee
  4. Yehuda Katz

    Add URL to serializers (closes #61)

    wycats authored
    Thanks so much to @vanstee for the initial
    implementation!
  5. Yehuda Katz

    Merged on_load

    wycats authored
  6. Yehuda Katz
Commits on May 16, 2012
  1. add ActiveSupport.on_load announcement

    James A. Rosen authored
  2. Prep for 0.5.0

    tomhuda authored
Commits on Feb 23, 2012
  1. Chris Burkhart

    Add a :root option to associations, which enables you to define what …

    ctide authored
    …the root level key will be for the associated objects.
Commits on Jan 20, 2012
  1. Carl Lerche
Commits on Jan 12, 2012
  1. Yehuda Katz

    Make it possible to supply default serializer

    wycats authored
    options in a controller.
  2. Yehuda Katz

    remove scope as a separate concept and pass it in

    wycats authored
    as an option.
  3. Yehuda Katz

    Allow serializers to receive instructions to

    wycats authored
    explicitly include or exclude specific lists of
    associations.
  4. Yehuda Katz

    Write more tests

    wycats authored
  5. Yehuda Katz
  6. Yehuda Katz

    Clean up pending tests

    wycats authored
Commits on Jan 11, 2012
  1. Yehuda Katz

    Remove dead code.

    wycats authored
  2. Yehuda Katz

    More refactoring:

    wycats authored
    * Changed associations to be classes
    * remove @hash and always use @options[:hash]
    * pass serializer options down to child serializers
  3. Yehuda Katz

    Test that has_one works.

    wycats authored
  4. Yehuda Katz

    If an existing association exists, use it to

    wycats authored
    get the value if none was provided.
  5. Yehuda Katz

    HasOne associations work

    wycats authored
  6. Yehuda Katz

    Start cleaning up serializers to support

    wycats authored
    include/exclude functionality.
    
    This process involves building a few lower-level
    primitives so not as much logic is hardcoded in
    monolithic helper methods.
  7. Yehuda Katz

    Revert polymorphism

    wycats authored
Commits on Jan 10, 2012
  1. Yehuda Katz

    Add pry

    wycats authored
  2. Yehuda Katz

    with ember :ids, :include => true, has_one

    wycats authored
    associations should include plural versions at
    the root, not singular ones.
Commits on Jan 3, 2012
  1. José Valim

    Merge pull request #24 from Adman65/polymorphic-associations

    josevalim authored
    Polymorphic associations
Something went wrong with that request. Please try again.