01 Mar '12, 11am

Want to learn about using Farday to do HTTP(s) in Ruby? I found @mislav's blog article an excellent introduction:

This request won’t work. GitHub API v3 is only accessible over encrypted SSL and we need to explicitly configure Net::HTTP for this. We don’t check the HTTP response code. The server could respond with a 302 (redirect), 401 (unauthorized) or 500 (server error). We should always supply a User-Agent header with information about what’s making these requests. The response payload is JSON, so it needs to be parsed before use.

Full article: http://mislav.uniqpath.com/2011/07/faraday-advanced-http/

Tweets

21 Ruby Tricks You Should Be Using In Your Own ...

rubyinside.com 28 Feb '12, 6am

Some of these are good tricks, some are blindingly obvious to decent programmers, some are unnecessary, and some are actua...

Edge Rails: PATCH is the new primary HTTP metho...

weblog.rubyonrails.org 26 Feb '12, 1am

Edge Rails: PATCH is the new primary HTTP method for updates Posted by fxn February 26, 2012 @ 01:54 AM What is PATCH? The...

Class and Instance Variables In Ruby // RailsTi...

railstips.org 02 Mar '12, 10am

Update (6/13/2008): I posted a bit more on the topic with example uses in the wild . First, let me preface this article wi...

The @engineyard blog has reposted my "Instrumen...

engineyard.com 01 Mar '12, 8pm

Note: Our very own Michael Brodhead recently wrote a blog post about excon and fog . With his permission, we’re reposting ...

Ruby on Rails Database Sharding: A Quick Primer...

engineyard.com 28 Feb '12, 3am

Sharding is usually the final strategy to reach for when scaling a Ruby on Rails app: caching, offloading, and data segmen...

An easy way to register domains for $2 each

domainnamewire.com 01 Mar '12, 1am

How to register domains for $2.00 at big name registrars. I know a lot of readers are always on the lookout for domain cou...

Practicing Ruby - The Double Dispatch Dance:

blog.rubybestpractices.com 25 Feb '12, 2am

Eric Wong 's Posts ( feed ) USP: Unix processes and their attributes Today Eric presents various bits of information that ...

3 Actionable Tactics For Content Creation Using...

seo.com 28 Feb '12, 8pm

3 Actionable Tactics For Content Creation Using Quora Jeremy Page , February 28, 2012 0 Comments Share Tweet Okay, so perh...