Hi all, I have been searching in the previous posts but could not find an answer to my problem.
During the lab exercises for this chapter we wrote a before_validation_on_create method and stripped everything from the 'name' attribute but left alphabets... I added another line of code to that for the credit card format which strips everything but numbers. Credit card part works perfectly fine but now the name part of it doesn't work. Meaning if the name entered is 'Volkan Van' it gets saved as 'Volkan Van' instead of 'VolkanVan' Could this be because there can be code only belonging to one attribute or am I completely of track? Thank in Advance for any help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ruby-on-rails-programming-with-passion" group. To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en -~----------~----~----~----~------~----~------~--~---
