Update for compatibility with Rails 4.0