use to_a instead of all, when there are some errors and saving fails, new associated records are removed (cherry picked from commit 369f391ec9e585aa278fad97a715b45fbef910a8)
use to_a instead of all, when there are some errors and saving fails, new associated records are removed
(cherry picked from commit 369f391ec9e585aa278fad97a715b45fbef910a8)

BookingBug/active_scaffold,ajacksified/active_scaffold,silverpond/active_scaffold,BookingBug/active_scaffold,silverpond/active_scaffold,silverpond/active_scaffold,asoltys/active_scaffold,BookingBug/active_scaffold,asoltys/active_scaffold,ajacksified/active_scaffold