Blog Archive » November 2007

Oracle needed an enema

November 28, 2007

Are you using Oracle with Ruby on Rails? The Oracle 10g (or so) version that has the new recyclebin feature? If so, you might have run into this problem I had recently. My problem was just a simple slowness experienced when running a deployment over SSH using Capistrano. As I worked on my application for several months, the deployment was getting slower and slower. To ...

Clean your Ruby on Rails ActiveRecords automatically

November 28, 2007

Let's say you need to make your Rails app have a field for users to put stuff in. Dangerous huh? The open nature of Ruby makes it simple to cleanup: app / model / cleaner . rb : --------------------- module Cleaner def self.append_features ( base ) base . before_save do | model | model . html = model . html . gs...

2 Comments