Created
April 1, 2009 04:05
-
-
Save stympy/88534 to your computer and use it in GitHub Desktop.
From the blog post at http://www.bencurtis.com/archives/2009/03/exporting-from-a-saas-application/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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