Press "Enter" to skip to content

Posts tagged as “Ruby”

Nice jruby installation cookbook (Opscode)

There are a lot of good example Opscode cookbooks out there. Unfortunately they can be hard to find. People are not submitting them to the Opscode Cookbook repository. Its still hard to untangle your own cookbooks into something that can be put in a sharable format I guess. Right now, the most productive way to find cookbooks seems to be…

Cross Domain RESTful AJAX with jQuery and Rails 2.2.2

Flinn Mueller aka actsasflinn wrote an blog post Cross domain RESTful JSON-P with Rails back in July. There he showed how to monkeypatch Rails to allow json-p to do all the REST verbs even when going across domains. He also showed how to make the json-p calls with jquery. A very nice solution that we take advantage of in one…

QuarkRuby: Consume non rails-style REST APIs

It seems that most “RESTful” APIs in the wild are well, pretty wild. They don’t meet the strict requirements of the pure CRUD/REST of ActiveResource. The article in QuarkRuby:  Consume non rails-style REST APIs shows how to create a nice ruby wrapper around ActiveResource so you can adapt to any arbitrary REST / http interface on the Internet.