Skip to content

Instantly share code, notes, and snippets.

@stympy
Created April 1, 2009 04:05
Show Gist options
  • Save stympy/88534 to your computer and use it in GitHub Desktop.
Save stympy/88534 to your computer and use it in GitHub Desktop.
class Submission < ActiveRecord::Base
def to_xml(options = {})
super({ :include => [:source, :attachments] }.merge(options))
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment