Bugfix/encode decode activeresource versions #69

Merged
merged 2 commits into from Oct 29, 2013

Projects

None yet

3 participants

@costford
Member

@csaunders @maartenvg

Setting include_root_in_json to true turned out to be problematic for ActiveResource version 3.2, so I yanked 3.1.1. This reinstates the encode/decode/as_json overrides pretty much to the way they were in 3.0.3 with the exception that the decode override is only necessary for ActiveResource 3.0. The other change is that the encode/as_json overrides are scoped to ShopifyAPI::Base rather than ActiveRecord::Base so we don't tromp expectations from other gems.

Original PR is #67 for reference.

@csaunders

🐑

@maartenvg
Member

:shipit:

@costford costford merged commit a291fc8 into master Oct 29, 2013
@costford costford deleted the bugfix/encode_decode_activeresource_versions branch Oct 29, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment