User is required to input a name (that will insert into database) and I need the user input name to use in another function to process then I need the newly processed input to insert into database.
So far, i manage to do is:
A name inserted into database
-> I saved it (name = personname, nameJob = nil)
-> I update_attribute('nameJob', nameJob_func(params[:name]))
Is there a better way where I can insert both entries together into the database after I process the nameJob_func()?