Entries Tagged as 'rails'

Sunday, May 17th, 2009

Getting Capistrano’s web:disable To Work With Nginx

Recently I deployed a new Ruby on Rails application using nginx+passenger instead of the usual apache+passenger configuration. As a result, I couldn’t use the traditional Apache rewrite rules to display the maintenance.html page if it existed. Here are the necessary corresponding rewrite rules for nginx to achieve the same effect. if (-f $document_root/system/maintenance.html) { rewrite [...]

Monday, November 24th, 2008

BBRuby 0.8 Release

Version 0.8 of the BBRuby gem was released today.

Monday, November 10th, 2008

Set RAILS_ENV for Phusion Passenger on Dreamhost

How to set RAILS_ENV for phusion passenger on your Dreamhost account.

Thursday, July 31st, 2008

Rails 2.x In Place Editor

A few Rails 2.x gotchas when using the in_place_editor plugin

Friday, December 7th, 2007

Small Tweak to atom_feed_helper Plugin

I ran into an interesting “issue” this past week while using the atom_feed_helper plugin for Rails. The plugin is designed to be a quick, easy-to-use way to generate ATOM feeds for your controllers. An interesting issue with the plugin is that it doesn’t allow you to manually set each ATOM entries link URL. The plugin [...]