Removing Rails 3's code