Update Rails aliases for Rails 4.