Sha256: 39c767c8c53c60277a77ad929d3013c7f0f93953549b9cdc2433ccd2b854d00c
Contents?: true
Size: 596 Bytes
Versions: 2
Compression:
Stored size: 596 Bytes
Contents
class Caboose::PageBlockFieldValue < ActiveRecord::Base self.table_name = "page_block_field_values" belongs_to :page_block belongs_to :page_block_field has_attached_file :file, :path => '/uploads/:id.:extension' do_not_validate_attachment_file_type :file has_attached_file :image, :path => 'uploads/:id_:image_updated_at_:style.:extension', :styles => { :tiny => '160x120>', :thumb => '400x300>', :large => '640x480>' } do_not_validate_attachment_file_type :image attr_accessible :id, :page_block_id, :page_block_field_id, :value end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
caboose-cms-0.3.44 | app/models/caboose/page_block_field_value.rb |
caboose-cms-0.3.43 | app/models/caboose/page_block_field_value.rb |