Answering my own question, but not sure it's the best solution:
def update_save(params={})
@record.previous_spouse = @record.spouse if @record
super(params)
end
Update_save is called right after the record is retrieved (in
do_edit). This works. Any better ideas?
--Mike
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/activescaffold?hl=en.