@mikefab this works for forms that create an object, but the 'edit' form doesn't appear to know what object is. I have added a check for options[:object]. Let me know if you have any other thoughts on this.