Sha256: 15010a9ff582f19253d6fee9d0eaaf6e36ea801b1ce3fde1069caa412fed852f

Contents?: true

Size: 288 Bytes

Versions: 91

Compression:

Stored size: 288 Bytes

Contents

class Caboose::PageBlockType < ActiveRecord::Base
  self.table_name = "page_block_types"

  has_many :page_block_fields, :dependent => :destroy  
  attr_accessible :id, :name, :description, :use_render_function, :render_function  

  def fields
    return page_block_fields
  end
  
end

Version data entries

91 entries across 91 versions & 1 rubygems

Version Path
caboose-cms-0.3.45 app/models/caboose/page_block_type.rb
caboose-cms-0.3.44 app/models/caboose/page_block_type.rb
caboose-cms-0.3.43 app/models/caboose/page_block_type.rb
caboose-cms-0.3.42 app/models/caboose/page_block_type.rb
caboose-cms-0.3.41 app/models/caboose/page_block_type.rb
caboose-cms-0.3.40 app/models/caboose/page_block_type.rb
caboose-cms-0.3.39 app/models/caboose/page_block_type.rb
caboose-cms-0.3.38 app/models/caboose/page_block_type.rb
caboose-cms-0.3.37 app/models/caboose/page_block_type.rb
caboose-cms-0.3.36 app/models/caboose/page_block_type.rb
caboose-cms-0.3.35 app/models/caboose/page_block_type.rb
caboose-cms-0.3.34 app/models/caboose/page_block_type.rb
caboose-cms-0.3.33 app/models/caboose/page_block_type.rb
caboose-cms-0.3.32 app/models/caboose/page_block_type.rb
caboose-cms-0.3.31 app/models/caboose/page_block_type.rb
caboose-cms-0.3.30 app/models/caboose/page_block_type.rb
caboose-cms-0.3.29 app/models/caboose/page_block_type.rb
caboose-cms-0.3.28 app/models/caboose/page_block_type.rb
caboose-cms-0.3.27 app/models/caboose/page_block_type.rb
caboose-cms-0.3.26 app/models/caboose/page_block_type.rb