Monthly Archives: May 2008
mod_rails set RAILS_ENV variable to QA, Staging, or Production
I’m using mod_rails with capistrano and multi-stage (qa, staging, production), and wrote this workaround so that the RAILS_ENV could be set correctly in each stage. Mod_rails sets RAILS_ENV once in the global server conf file, but I needed it set once for each environment: qa, staging, and production. I tried setting ENV['RAILS_ENV] in each file [...]
chanting patterns
The music you’ll find here is intended to be imperfect, unfinished, improvised impressions and reflections. Spectres stoking embers. Phantoms chanting patterns.
jQuery validation with Prototype
Here is the jQuery validation plugin fixed up so that it works if you have prototype installed along side jQuery. I just replaced references to $() with jQuery() in the jQuery.validations.js file.
jquery.validate.js with prototype
Tagged jQuery, prototype, rails, validation 1 Comment
Rails background process – simple, fast, easy.