Last active
April 22, 2016 23:46
-
-
Save jordangraft/55766721acc9d5a2d1239ccd8297d05d 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 Order < ActiveRecord::Base | |
# needs to return an array of strings representing method names that exist for the model | |
def self.optional_csv_attributes | |
['state'] | |
end | |
def state | |
return 'the state' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment