Last active
August 29, 2015 14:23
-
-
Save rserna2010/0bbc4441c967c0551eb3 to your computer and use it in GitHub Desktop.
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 Survey < ActiveRecord::Base | |
include Surveyor::Models::SurveyMethods | |
def interactions | |
return Interaction.where(:survey_id => self.id) | |
end | |
def title | |
"Custom #{super}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment