Permalink
Commits on Sep 12, 2017
  1. Bumping version to 0.20.0

    jkowens committed Sep 12, 2017
  2. Update changelog for v0.20.0

    jkowens committed Sep 12, 2017
Commits on Sep 11, 2017
  1. Merge pull request #449 from toptal/reset-model-instance-on-validate

    jkowens committed Sep 11, 2017
    Reset model instance on validate
Commits on Sep 10, 2017
  1. Reset model instance on validate

    vmaxv committed Sep 10, 2017
    When loading an array of hashes, the importer uses the same model
    instance whenever performs validations for each item. However, if there
    is a validator defined for a memoized attribute, it might provide false
    positives for valid values followed by invalid ones.
    
    Instantiate a new object before validating a model to avoid such
    gotchas.
  2. Merge pull request #448 from jkowens/load_assocation_ids

    jkowens committed Sep 10, 2017
    Sync belongs_to association id before importing
Commits on Sep 7, 2017
  1. Prevent type casting for binary columns on PG to fix #443 (#446)

    mwalsher committed with jkowens Sep 7, 2017
    * Prevent type casting for binary columns on PG to fix #443
  2. Merge pull request #447 from jkowens/master

    jkowens committed Sep 7, 2017
    Fix class name in logging statement
  3. Lock Rubocop at 0.40.x

    jkowens committed Sep 7, 2017
  4. Update .rubocop.yml

    jkowens committed Sep 7, 2017
  5. Upgrade rubocop gem

    jkowens committed Sep 7, 2017
Commits on Sep 5, 2017
  1. Fix rdoc for import method

    jkowens committed Sep 5, 2017
Commits on Sep 1, 2017
  1. Merge pull request #444 from toptal/fix-bypassing-uniqueness-validators

    jkowens committed Sep 1, 2017
    Fix bypassing uniqueness validators
  2. Fix bypassing uniqueness validators

    vmaxv committed Sep 1, 2017
    When `Validator` is iterating over a callback chain and skips unique
    validations, it shifts the index whenever it deletes such item from the
    collection. If there are several successive uniqueness validators, it
    omits the one following the deleted one in the chain. That prevents
    from inserting data in such model when running with `:validate` option.
    
    Do not mutate the target chain inside the enumerator and iterate over a
    copy instead.
    
    Relates to #301.
    Follow-up for #410.
Commits on Aug 26, 2017
  1. Allow RETURNING to be specified for PostgreSQL (#433)

    tjwp committed with jkowens Aug 26, 2017
    * Allow returning to be specified for PostgreSQL
    
    * Set attributes from returning on model objects
Commits on Jul 20, 2017
  1. Merge pull request #441 from jkowens/releases/v0.19.1

    jkowens committed Jul 20, 2017
    Release v0.19.1
  2. Bumping version to 0.19.1

    jkowens committed Jul 20, 2017
  3. Update changelog for v0.19.1

    jkowens committed Jul 20, 2017
  4. Merge pull request #440 from keeguon/master

    jkowens committed Jul 20, 2017
    Fixed concat with 'primary_key'.
Commits on Jul 18, 2017
  1. Merge pull request #439 from jkowens/fix-437

    jkowens committed Jul 18, 2017
    Raise error when value set byte size exceeds max allowed
Commits on Jul 17, 2017
Commits on Jun 29, 2017
  1. Merge pull request #434 from salsify/salsify/assign-and-clean

    jkowens committed Jun 29, 2017
    Mark clean after assigning attributes
  2. Mark clean after assigning attributes

    Tim Perkins committed Jun 29, 2017
Commits on Jun 13, 2017
  1. Merge pull request #429 from jkowens/releases/v0.19.0

    jkowens committed Jun 13, 2017
    Release v0.19.0
  2. Update changelog for v0.19.0

    jkowens committed Jun 13, 2017
  3. Bumping version to 0.19.0

    jkowens committed Jun 13, 2017
Commits on Jun 12, 2017
  1. Merge pull request #428 from jkowens/master

    jkowens committed Jun 12, 2017
    Use read_attribute for columns with default value
Commits on Jun 6, 2017
  1. Cleanup variable name

    jkowens committed Jun 6, 2017
  2. Merge pull request #425 from jkowens/master

    jkowens committed Jun 6, 2017
    Fix issue importing serialized attributes from saved models