Permalink
Commits on Jan 5, 2017
  1. Merge pull request #38 from pawlik/fix-fail-when-associated-object-do…

    …esnt-respond-to-marked-for-destruction
    
    [WIP] Fix undefined method `marked_for_destruction?'
    committed on GitHub Jan 5, 2017
  2. Fix undefined method `marked_for_destruction?'

    It is possible to represent an object which does not
    respond to `marked_for_destruction?`, in such case
    NestedValidator would raise `undefined method` error.
    pawlik committed Jan 4, 2017
Commits on Jan 3, 2017
  1. Merge pull request #37 from barthez/fix-nested-attributes-validation

    Fix nested attributes validation
    committed on GitHub Jan 3, 2017
  2. Fix nested attributes validation

    When `allow_destroy` option is enabled for `accepts_nested_attributes_for`
    call, destroyed objects were validated, so parent object could be
    potentially invalid, if attributes for nested object was updated
    to invalid attributes and marked for destruction at the same time.
    barthez committed Jan 3, 2017
Commits on Dec 14, 2016
  1. Merge pull request #33 from barthez/fix-reading-boolean-attributes-fr…

    …om-embedded-models
    
    Fix reading boolean values from embedded models
    committed on GitHub Dec 14, 2016
  2. Fix RuboCop offenses

    barthez committed Dec 14, 2016
  3. Fix reading boolean values from embedded models

    When boolean attribute of embedded model was false it is not
    being read and it always fails to default. Now we always set
    value stored in database, even if it was nil.
    barthez committed Dec 13, 2016
Commits on Nov 14, 2016
  1. Merge pull request #32 from pyromaniac/references-many-persistence

    Support persistence on references_many associations
    committed on GitHub Nov 14, 2016
  2. Support persistence on references_many associations

    committed Nov 14, 2016
Commits on Nov 10, 2016
  1. Merge pull request #31 from Tei/fix-attribute-boolean-default

    Fix  for boolean attribute
    committed on GitHub Nov 10, 2016
  2. Fix for boolean attribute

    Tei committed Nov 10, 2016
Commits on Nov 2, 2016
  1. Merge pull request #30 from DNNX/support-update-only-in-collection-as…

    …sociations
    
    Add support for `update_only` option to nested attributes of collections
    committed on GitHub Nov 2, 2016
  2. Add support for `update_only` option to nested attributes of collections

    Now, if a `accepts_nested_attributes_for` is defined for a collection association,
    we can specify `update_only: true`. Then, new records will not be created in the
    collection and will simply be ignored.
    
    Before this commit, update_only option was only supported by one-to-one associations.
    For collection associations it was simply ignored.
    DNNX committed Nov 2, 2016
Commits on Oct 23, 2016
  1. Merge pull request #29 from pyromaniac/association-refactoring

    Making associations nicer
    committed on GitHub Oct 23, 2016
  2. More methods shuffle

    committed Oct 23, 2016
  3. More persistence in adapters

    committed Oct 23, 2016
  4. Just a big renaming

    committed Oct 23, 2016
  5. Merge pull request #28 from pyromaniac/references-persistance

    Reference associations persistence
    committed on GitHub Oct 23, 2016
  6. Autosave for references_one

    committed Oct 13, 2016
Commits on Oct 18, 2016
  1. References one build API

    committed Oct 12, 2016
Commits on Oct 17, 2016
  1. Merge pull request #24 from EPecherkin/persistence-adapters

    Move all persistence stuff to adapters
    committed on GitHub Oct 17, 2016
  2. Fix rubocop warnings

    EPecherkin committed Oct 17, 2016
Commits on Oct 14, 2016
Commits on Oct 12, 2016
Commits on Oct 4, 2016
  1. Fix rubocop offences

    committed Oct 4, 2016
Commits on Sep 4, 2016