# File lib/best_in_place/helper.rb, line 72 def best_in_place_if(condition, object, field, opts = {}) if condition best_in_place(object, field, opts) else best_in_place_build_value_for best_in_place_real_object_for(object), field, opts end end