Added best_in_place compatible with Rails 4.1