I’m a bit confused as to how I came to this solution but thought it
need some review.
I have a number of fields that can be edited by the user. As an
let’s say I have 5 text fields where
a user can list up to 5 of their favorite Rails books, in order of
1- Agile Web D.
2- Ruby and Rails: Up and Running
3- Ruby for Rails
Build Your Own Ruby on Rails Web Application
5- Ruby on Rails for Dummies
Tomorrow they edit the form, move 4 and 5 off, so they are down to three
A few weeks later, The put Ruby and Rails Up and Running as number 1 and
Agile Web D. as number 3
So you get the point. Well, while I sort of know I can do some
size, value checking and so forth, it seems easier
to just delete the current entries on update and treat the changed
selections as new.
I wanted to get some opinions and see if this is an okay thing to do ?