Posts tagged sinatra


Sinatra ERB Escaping

sinatra | comments

Writing erb in Rails, you’re probably used to escaping HTML like this:

<%=h %>
Continue reading »


Delayed::Job with Sinatra

sinatra queueing | comments

DJ is a great Rails plugin for running a worker queue through your database. But it only works with Rails… or does it?

Continue reading »


Railsconf Slides: Rails Metal, Rack, Sinatra

events rails rack sinatra | comments


Console for Sinatra

sinatra | comments

Wondering how to get the equivalent of script/console for your Sinatra app? Try:

$ irb -r my_sinatra_app.rb
Continue reading »


ActiveRecord Migrations Outside Rails

activerecord databases sinatra | comments

To use ActiveRecord’s migrations with Sinatra (or other non-Rails project), add the following to your Rakefile:

Continue reading »


Get Exceptional + Sinatra

sinatra | comments

Get Exceptional is a service similar to Hoptoad: a web service which your application can post exceptions to. Either of these is a big step up from that old standby, exceptionnotifier, which fills up your inbox with exception emails.

Continue reading »


Sinatra 0.9 Released

sinatra | comments

Sinatra 0.9 is out. Thanks to the leadership of Ryan Tomayko, and a very active group of hard-working community contributors, Sinatra is making the transition from a cool hacker’s toy and into a mature framework, ready for production use. Much of this release has to do with stability and maintainably (such as a deprecations system), as well as outreach like improved documentation and bug tracking. Expanded documentation is on the way, such as the Sinatra book. This is an exciting time for what will soon be the #2 most popular Ruby framework.


Rubyconf Video

events sinatra restclient | comments


Rubyconf Slides

events sinatra restclient | comments


Upcoming Appearances

restclient events sinatra | comments

A few more chances for you to catch me in person:


Don't Fear the URLs

rest mvc sinatra | comments

I like models. They do the heavy lifting. They’re easy to spec. You can grab them at the console or from script/runner with ease.

Continue reading »


Sinatra, My New Favorite Microframework

sinatra | comments

A few months ago, I went in search of a way to build an extremely lightweight Ruby web app. Merb can be stripped down pretty far, but I wanted a true microframework. Ramaze and Camping were getting close, but didn’t quite fit my taste. Then I discovered Sinatra.

Continue reading »