View Code? Open in Web Editor
NEW
## This repo has been deprecated. See https://github.com/maintux/hyperactiveresource ### HyperActiveResource extends ActiveResource so it works properly and behaves more like ActiveRecord.
Home Page: https://github.com/maintux/hyperactiveresource/wikis
License: MIT License
hyperactiveresource's People
Contributors
Watchers
hyperactiveresource's Issues
Hi do you still maintain this project? I want to know it because I'm working on it and if you want I can take the maintenance of this.
Bulk assigning an object as an association fails.
For example: CoolResource.new(:owner => current_user)
raises:
ArgumentError: expected an attributes Hash, got #User:...
activeresource/lib/active_resource/base.rb:750:in 'load'
activeresource/lib/active_resource/base.rb:521:in 'initialize'
hyperactive_resource/lib/hyperactive_resource.rb:338:in 'new'
hyperactive_resource/lib/hyperactive_resource.rb:338:in 'load_array'
hyperactive_resource/lib/hyperactive_resource.rb:338:in 'map'
hyperactive_resource/lib/hyperactive_resource.rb:338:in 'load_array'
hyperactive_resource/lib/hyperactive_resource.rb:308:in 'load'
hyperactive_resource/lib/hyperactive_resource.rb:303:in 'each'
hyperactive_resource/lib/hyperactive_resource.rb:303:in 'load'
hyperactive_resource/lib/hyperactive_resource.rb:14:in 'initialize'