Further customisation for Rails 4.