Project

General

Profile

Download (232 Bytes) Statistics
| Branch: | Tag: | Revision:
class ArtworkStep < ActiveRecord::Base
belongs_to :artwork

before_save {|model| model.position ||= 0 }

def self.base_upload_path
"public/images/artwork_steps"
end

def human_size
"#{height} x #{width}"
end
end
(8-8/13)