Saturday, May 30th, 2009
How to integrate punBB into an existing Ruby on Rails application
A quick tutorial on how to integrate the punBB forum system into an existing Rails application with a single sign-on for both systems.
A quick tutorial on how to integrate the punBB forum system into an existing Rails application with a single sign-on for both systems.
Another example of why IE is awful and a gotcha to lookout for in your Rails app
How to set HTTP expires headers for your static assets when running nginx+passenger
How to install a rails plugin from a specific tag or branch in a git repository
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 [...]