Some code has stopped working in my model as a result of upgrading to
rails rc4.
Two things stopped functioning properly in my model after my web-
hosts upgraded their rails environment:
-
There is a small percentage of phone numbers that are making it
past my before filter. They are coming through with dashes. i.e.
‘123-456-7890’ but when I attempt to recreate this the phone number
is normalized fine. I’m unsure why 13 or 14 out of 116 new records
would pass by the fillter some how? -
Prior to the upgrade I had redefined read attribute to format all
of the attributes to uppercase (thanks to help from people on this
list). But now this code is no longer workingAny ideas?
Here is a condensed version of my model: