[Rails-core] Re: PATCH: Support for String Lists in Mass Assignment of Associations via association_ids=

2009-02-21 Thread i am jbarket
The problem is that it can't be handled in the model with a before_save because the data has already been converted (and thus destroyed), and handling it in the controller is messy. I'm curious if you actually looked at the diff. It's quite short. All it does it in the instance of adding multiple

[Rails-core] Re: PATCH: Support for String Lists in Mass Assignment of Associations via association_ids=

2009-02-21 Thread Chris Cruft
It seems like this conversion would be better handled in the controller or model. Using anything other than integer primary keys also becomes riskier. So far Rails has done a pretty good job of permitting non-integer keys. I would hate to see that fall by the wayside. -1 On Feb 20, 7:39 pm, i