Don't need this anymore in Rails 4