Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 29, 2014
  1. @guilleiguaran

    Merge pull request #101 from printercu/patch-1

    guilleiguaran authored
    Collection delegates all Array-instance methods to elements array
  2. @guilleiguaran

    Merge pull request #109 from DisruptionCorporation/observers-railtie-…

    guilleiguaran authored
    …and-load-hooks
    
    Instantiate observers via Railtie, and run load hooks
  3. @guilleiguaran

    Merge pull request #93 from jramos/master

    guilleiguaran authored
    Adding complete known schema attribute list to docs
  4. @guilleiguaran

    Merge pull request #115 from cmarkle/patch-1

    guilleiguaran authored
    Example for collection parser is incorrect.
Commits on Dec 28, 2013
  1. @cmarkle

    Example for collection parser is incorrect.

    cmarkle authored
    Either "self.collection_parser = PostParser" in the original example needs to be changed to refer to the subsequent PostCollection class (the path I chose) or the PostCollection class needs to be named PostParser. Bottom line is the class name of the class that inherits from ActiveResource::Collection needs to match the name specified as collection_parser.
Commits on Dec 11, 2013
  1. @guilleiguaran
  2. @robertomiranda
Commits on Dec 6, 2013
  1. @frodsan

    Ignore *.lock files.

    frodsan authored
Commits on Dec 5, 2013
  1. @frodsan

    Test against Rails master.

    frodsan authored
  2. @frodsan

    Revert "Test against released gem."

    frodsan authored
    This reverts commit 8bcc99e.
    
    This change should be done in the 4-0-stable branch.
  3. @frodsan

    Test against released gem.

    frodsan authored
  4. @frodsan
Commits on Nov 11, 2013
  1. @guilleiguaran

    Merge pull request #112 from ericlathrop/update-api-doc-url

    guilleiguaran authored
    Update API doc url. Fix #110.
  2. @ericlathrop

    Update API doc url. Fix #110.

    ericlathrop authored
Commits on Oct 29, 2013
  1. @ches

    Instantiate observers via Railtie, and run load hooks

    ches authored
    I spent some time figuring out how to cleanly use the
    ActiveResource observer support in a Rails app, finding surprisingly
    little documentation beyond ActiveModel::Observer itself, arriving at
    the need for this essential boilerplate in an initializer:
    
        ActiveResource::Base.observers = # ...
        ActiveResource::Base.instantiate_observers
    
    This change packages it up as neatly as ActiveRecord observers in Rails:
    
        # In config/application.rb
        config.active_resource.observers = [:post_observer, :comment_observer]
    
    The Railtie will instantiate observers automatically, and reload them
    for each request in development just like rails-observers does for
    ActiveRecord.
Commits on Oct 18, 2013
  1. @MorganShowman

    Merge branch 'master' into fix/errors-from_type/use-known-attributes

    MorganShowman authored
    * master:
      Updating changelog.
      Adding `lib/activeresource.rb` to the project.
Commits on Oct 2, 2013
  1. @printercu
Commits on Oct 1, 2013
  1. @ches

    has_one fallback works when target is not a Singleton

    ches authored
    As documented:
    
    > if a Product class `has_one :inventory` calling `Product#inventory`
    > will generate a request on /products/:product_id/inventory.json.
    
    This was implemented in #15, but only implemented and tested for a true
    Singleton target. It should also work when the target model does not
    actually include Singleton, e.g. a Post has one Author.
Commits on Sep 16, 2013
  1. @guilleiguaran

    Merge pull request #95 from lunks/add-activeresource-file

    guilleiguaran authored
    Adding `lib/activeresource.rb` to the project.
Commits on Sep 5, 2013
  1. @SweetyHighDeployer
  2. @lunks

    Updating changelog.

    lunks authored
  3. @lunks

    Adding `lib/activeresource.rb` to the project.

    lunks authored
    This allows to remove the `require: active_resource` from the Gemfile
    and just use `gem 'activeresource'`.
Commits on Sep 4, 2013
  1. adding complete known attribute list to docs

    Justin Ramos authored
Commits on Aug 6, 2013
  1. @MorganShowman

    Fix Errors#from_type use known_attributes

    MorganShowman authored
    This commit replaces the use of #attributes.keys with #known_attributes
    in Errors#from_array and Errors#from_hash. This is done so that when
    ActiveResource grabs errors for attributes defined in the schema, but
    don't yet exist as an attribute on the object, the error gets assigned
    to the known attribute instead of the base object.
Commits on Jul 19, 2013
  1. @guilleiguaran
Commits on Jul 15, 2013
  1. @guilleiguaran

    Merge pull request #68 from jassa/fix-belongs_to

    guilleiguaran authored
    Ensure belongs_to finder method sends a non-nil key
  2. @guilleiguaran

    Merge pull request #61 from niedfelj/threadsafe_headers

    guilleiguaran authored
    threadsafe headers
Commits on Jun 26, 2013
  1. @jassa
  2. @sikachu

    Prepare for 4.0.0 release

    sikachu authored
    Note that I couldn't make this gem backward compatible with Rails 3.2.x
    since Rails 3.2.x hardcoded Active Resource's version. You'll need to
    upgrade to Rails 4 to be able to use this gem.
Commits on Jun 22, 2013
  1. @guilleiguaran

    Merge pull request #77 from cddr/document-associations

    guilleiguaran authored
    Add a note about associations to the README
  2. Add a note about associations to the README

    Andy Chambers authored
Commits on Jun 14, 2013
  1. @arunagw

    Merge pull request #70 from tamird/patch-2

    arunagw authored
    run tests against jruby and rbx
Commits on Apr 30, 2013
  1. @tamird

    run tests against jruby and rbx

    tamird authored Tamir Duberstein committed
  2. @rafaelfranca

    Merge pull request #69 from tamird/patch-1

    rafaelfranca authored
    Update gemfile
Something went wrong with that request. Please try again.