09 Oct '13, 4pm

Sinatra using respond_to with url extensions (.json)

Sinatra using respond_to with url extensions (.json) Posted by danmayer on October 09, 2013 — 0 comments I had some issues using respond_to in Sinatra using Sinatra-Contrib. The respond_to method didn't handle url format extensions in the way I expected, instead requiring explicit accepts headers. Sharing my work around for sinatra url format extensions . Is there a better way?

Full article: http://www.rubyflow.com/items/9894-sinatra-using-respond_...

Tweets

20 Rubyists using Sinatra

rubylearning.com 21 Oct '13, 1am

I’ve just founded a company called “Rock & Code ” in Amsterdam, The Netherlands that offers solutions developed on Sinatra...

SXSWeco Interview: How Sprint is Using Biomimic...

triplepundit.com 09 Oct '13, 8am

is a hot topic here at 3p. The basic idea behind biomimicry is that nature is the ultimate product designer. By studying h...

How to stub external services in tests

robots.thoughtbot.com 19 Oct '13, 2pm

$ rspec spec/features/external_request_spec.rb F Failures: 1) External request queries FactoryGirl contributors on Github ...

New post: Create a Full Adder Using the C Preprocessor

New post: Create a Full Adder Using the C Prepr...

hackaday.com 10 Oct '13, 2am

[Phillip] wanted to play with the C preprocessor. He decided to do that by creating a 4 bit full adder . We know this is p...