Displaying 1 result from an estimated 1 matches for "parenthisis".
Did you mean:
parenthesis
2006 Apr 24
5
Sanitising a Phone Number input
I want to sanitise a phone number input.
In my UsersController.rb file I have written a method that will take a
string and reduce it to numbers only.
This works find if I call it manually, but in the interests of keeping
DRY I would like to ensure that the code sanitisation method is called
whenever the data is edited (I''m using standard scaffolidng for this
test).
Is there anyway