Created
January 13, 2014 16:39
-
-
Save wlangstroth/8403415 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 Thing < ActiveRecord::Base | |
# == Constants ========================================================== | |
CONSTANTS = %w[ thing1 thing2 ] | |
# == Attributes ========================================================= | |
attr_accessor :attribute | |
# == Extensions ========================================================= | |
# e.g. Paperclip | |
has_attached_file :logo, | |
:styles => { | |
:tiny => '16x16>', | |
:medium => "70x70>" | |
} | |
# == Relationships ====================================================== | |
# == Validations ======================================================== | |
# == Callbacks ========================================================== | |
# == Scopes ============================================================= | |
# == Class Methods ====================================================== | |
# == Instance methods =================================================== | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment