Remove Rails 3 code