luckyframework/lucky_record

Add create? And update? Methods to forms

paulcsmith opened this issue · 1 comments

So you can run validations or prepare the fields differently depending in update or create

Going with a different approach where prepare is removed and instead you use callbacks like before_update :validate_update or before_save :validate