downgrade rails dependencies to support Rails 2.3