Rails 4 2 support