allow rails 4

Alternatively, if we can get @yurikoval's changes merged into https://github.com/bernat/best_in_place, it already allows Rails 4