Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Aug 12, 2015
  1. @hubert

    Merge pull request #323 from WizardOfOgz/new-record-method

    hubert authored
    Provide a more ActiveRecord-like interface by aliasing new_record? to new?
  2. @WizardOfOgz
Commits on Aug 6, 2015
  1. @hubert

    Merge pull request #322 from giedriusr/patch-1

    hubert authored
    Update LICENCE year to 2015
  2. @hubert

    Merge pull request #343 from valo/fix-nil-belongs-to-relations-for-ne…

    hubert authored
    …w-records
    
    Non-persisted records try to make HTTP calls for associations with nil foreign_key
  3. @valo

    Do not check if the record is persisted to get the default value.

    valo authored
    It is enough to have a blank foreign key in order to return the default value.
  4. @valo

    Add a failing test for a belongs_to association with nil foreign key …

    valo authored
    …in a non-persisted record.
    
    Error:
    
    ```
      1) Her::Model::Associations handling associations without details returns nil if the foreign key is nil
         Failure/Error: @user_without_organization_and_not_persisted.organization.should be_nil
         Faraday::Adapter::Test::Stubs::NotFound:
           no stubbed request for get /organizations
         # ./lib/her/api.rb:94:in `request'
         # ./lib/her/model/http.rb:56:in `request'
         # ./lib/her/model/http.rb:81:in `get_raw'
         # ./lib/her/model/http.rb:70:in `get'
         # ./lib/her/model/associations/belongs_to_association.rb:84:in `fetch'
         # ./lib/her/model/associations/association_proxy.rb:11:in `nil?'
         # ./lib/her/model/associations/association_proxy.rb:40:in `method_missing'
         # ./spec/model/associations_spec.rb:215:in `block (3 levels) in <top (required)>'
    ```
Commits on Jul 31, 2015
  1. @hubert

    Merge pull request #359 from hubert/fix_associations_with_active_mode…

    hubert authored
    …l_serializers
    
    Fix associations with active model serializers
  2. @minktom @hubert

    Fix belongs_to fetch

    minktom authored hubert committed
  3. @minktom @hubert

    Fix find through an association

    minktom authored hubert committed
  4. @minktom @hubert

    Fix parsing associations (Parse#extract_array)

    minktom authored hubert committed
  5. @minktom @hubert
Commits on Jul 22, 2015
  1. @hubert

    Merge pull request #354 from marshall-lee/escape_variable_values

    hubert authored
    Escape path variables
Commits on Jul 21, 2015
  1. @marshall-lee
  2. @hubert

    Merge pull request #352 from hubert/feature/has-one-parsing

    hubert authored
    Parse has_one association data before initializing objects
Commits on Jul 15, 2015
  1. @hubert
  2. @marshall-lee

    Fixes #357

    marshall-lee authored
Commits on Jul 14, 2015
  1. Merge pull request #356 from tippenein/highlight-block-in-readme

    authored
    ruby highlighting in readme
Commits on Jul 13, 2015
  1. @tippenein
Commits on Jul 8, 2015
  1. @marshall-lee

    Escape path variables

    marshall-lee authored
Commits on Jul 7, 2015
  1. @hubert
Commits on Jul 6, 2015
  1. @hubert

    Merge pull request #338 from marshall-lee/attributes_misbehavior

    hubert authored
    :attributes class method misbehavior
  2. @hubert

    Merge pull request #341 from aderyabin/remove_unused_code

    hubert authored
    thanks for the contribution. apologies for the merge lag.
Commits on Jul 1, 2015
  1. @marshall-lee
  2. @marshall-lee
  3. @marshall-lee
  4. @marshall-lee
  5. @marshall-lee
Commits on Jun 30, 2015
  1. @hubert

    Merge pull request #347 from hubert/feature/json-api-support

    hubert authored
    Feature/json api support
Commits on Jun 16, 2015
  1. @hubert
  2. @hubert

    Bump version to 0.7.6

    hubert authored
  3. @hubert
  4. @hubert

    Add release notes for 0.7.5

    hubert authored
Commits on Jun 12, 2015
  1. @hubert

    Bump version to 0.7.5

    hubert authored
  2. @hubert
Commits on Jun 11, 2015
  1. @hubert

    Raise NoMethodError when trying to use parse_root_in_json, include_ro…

    hubert authored
    …ot_in_json, primary_key, or root_element with Her::JsonApiModel
Something went wrong with that request. Please try again.