Fix broken Rails 2.3 integration