Hi all,
I have a model with a number of fields for phone numbers. The database is expecting integers, but users can enter any type of character. In my beforeSave()
method I have functionality to strip out any non-integer characters, but I've referenced each field individually by name. Is there any way for me to access what the model knows about the database and just automatically iterate through all fields & affect those that are integers?