Trying to add Rails 4 support