Skip to content

Instantly share code, notes, and snippets.

@mwotton
Created January 18, 2012 00:49
Show Gist options
  • Save mwotton/1630075 to your computer and use it in GitHub Desktop.
Save mwotton/1630075 to your computer and use it in GitHub Desktop.
has_one :trigger_submission, {
:as => :submitter,
:dependent => :nullify,
:class_name => 'FormSubmission'
}
has_one :action_submission, {
:as => :submitter,
:dependent => :nullify,
:class_name => 'FormSubmission'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment