On 26 April 2017 at 02:04, fugee ohu <
fuge...@gmail.com> wrote:
> I'm trying to assign additional parameters to create to satisfy validations
> in the model like so
> address="params[:address0] + params[:address1]
> @user.address=address
> if @user.save
> ...
> In this example there's address0 and address1 in the form but not the schema
> which has only :address
> Should this work?
Try it and see. If it does not then debug it to find why.
Colin