This is targeted at the teacher in particular, but I thought an answer would be useful for the whole class.
In 5522, ActiveRecord Basics, the homework says to "Use callbacks - before_save and before_create -". Would the homework be acceptable using a different algorithm? For example, my first solution used a a regex to validate either of the three formats, then a callback *after_validation* to clean up the value, but I didn't use before_save or before_create. Do I need to recraft my assignment to use these specific callbacks? James Mason Systems Administrator/Safety & Environmental Director Yamato Engine Specialists 360-306-5017 Confidentiality Notice: The documents accompanying this electronic transmission may contain confidential information. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, you are notified that any disclosure, copying, distribution or taking of any action in reliance on the contents of this electronic information is not permissible. If you have received this electronic document in error, please immediately notify us by telephone at (360)733-1916. Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
