Category Archives: Ruby on Rails
Rails 3: Rack-Throttle your Rack API
Sometimes, you will want to decouple your Rails app and place your API in its own special folder in lib. You could be using Sinatra, Grape, or even your own Rack app. The advantage is you can separate out your … Continue reading
Passenger and nginx Maintenance Page
I recently had the pleasure of moving a Rails app from Apache/Passenger based system to an nginx/Passenger system, deployed by Capistrano. In Apache, I had a setup where I could take a production site down for maintenance by touching ‘tmp/stop.txt’ … Continue reading
Lighttpd + Mongrel + Rails + Windows
I recently worked on a project that required me to host a rails application on Windows XP Home, something I had no experience with but took on as our options were limited. We wanted a load-balanced server running a Rails … Continue reading