now the @new_patient should have their own copy of patient,aaas,bbbs (new
records in corresponding tables)
there is one options is that
we can create seperate object for each patient,aaas(Array),bbbs(Array)
and save them, but if the associations(aaas,bbbs) size(Array.size) are
more then it will take too much time
i know RAILS framework don’t have any support for this
@removed_email_address@domain.invalid
i know RAILS framework don’t have any support for this
any short ideas or ready mate plugins ?
No, but if you find one, the computer science community will be
excited. You seem to be asking for a way to copy an array that takes
less time than copying the elements.
Worrying about speed for something like this is vastly premature
optimization…
–Matt J.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.