Sha256: e9446931d2607c4a7b4e6b718af087f0629d57cad975e6330df9b7ea91f23938
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
module Tim class BaseImage < Tim::Base has_many :image_versions belongs_to :template belongs_to :user, :class_name => Tim.user_class accepts_nested_attributes_for :template accepts_nested_attributes_for :image_versions attr_accessible :template, :name, :description attr_accessible :template_attributes attr_accessible :image_versions_attributes, :as => :admin attr_protected :id end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
tim-0.1.2 | app/models/tim/base_image.rb |
tim-0.1.1 | app/models/tim/base_image.rb |
tim-0.0.1 | app/models/tim/base_image.rb |