I have a field in the DB called phone_number , string 10 chars. In
my form i want to make these 3 text boxes (phone1, phone2, phone3). I
am trying to figure out how to assemble this to create the phone
number before saving. I am trying the following:
In the model
self.phone_number = phone1 + phone2 + phon3
however i dont seem to have access to params[:model][:phone1] from
here. Any ideas on how to make this work ?