if params
 self.gender = params[:gender]
 self.relationship_status = params[:relationship_status]
end
って感じですかね