Fixed best_in_place gem. Added validations and defaults.