Brian Getting

Results 7 comments of Brian Getting

Sure. I've been just testing it out in the console, but here is the stack trace that is output: from /Users/briangetting/.rvm/gems/ruby-1.9.2-p0/gems/activeresource-3.0.7/lib/active_resource/connection.rb:32:in `initialize' from /Users/briangetting/.rvm/gems/ruby-1.9.2-p0/gems/activeresource-3.0.7/lib/active_resource/base.rb:537:in`new' from /Users/briangetting/.rvm/gems/ruby-1.9.2-p0/gems/activeresource-3.0.7/lib/active_resource/base.rb:537:in `connection' from /Users/briangetting/.rvm/gems/ruby-1.9.2-p0/gems/shopify-api-limits-0.0.8/lib/shopify-api-limits/shopify_api/limits.rb:58:in`response' from...

No problem. Here is what I am doing. As I mentioned, I am just testing to see how it works before getting into writing actual code: s = Store.find(:first) #...

That's great news.I'll give it a try. The actual app will be built using Rails 3.1, which I believe does not include any changes to ActiveResource. Thanks for your help...

Oops. Just updated the bundle to use Rails 3.0.8, and I'm seeing the same thing. By setting the ShopifyAPI::Base.site it gives me the "missing site URI" error. By setting the...

Thanks a ton for your help with this. The gem is a great idea, and much needed by people like me. It seems strange, as if I set the ActiveResource::Base.site...

Best I can tell, it works fine when you set ActiveResource::Base.site, but not when you set ShopifyAPI::Base.site.

You can see which version of AR you are using by running 'gem list'. I got it working by just setting ActiveResource::Base.site instead of ShopifyAPI::Base.site.