Michael Kahle wrote:

> Super!  Thanks so much.  It worked perfectly.  The only thing I changed 
> from your example was to handle the update as a transaction.  Updating 
> @registration and @customer with the ".attributes" method did the trick 
> perfectly.  I am off to experiment with the "validates_associated 
> :customer".

Could you explain a little more what you changed and why.

One little improvement: Use save_without_validation! to prevent
the validations from being run twice.

-- 
Rails Wheels - Find Plugins, List & Sell Plugins - http://railswheels.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to