Enable best_in_place to work with rails4