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.129 app/models/caboose/page_block_type.rb
caboose-cms-0.3.128 app/models/caboose/page_block_type.rb
caboose-cms-0.3.127 app/models/caboose/page_block_type.rb
caboose-cms-0.3.110 app/models/caboose/page_block_type.rb
caboose-cms-0.3.101 app/models/caboose/page_block_type.rb
caboose-cms-0.3.100 app/models/caboose/page_block_type.rb
caboose-cms-0.3.99 app/models/caboose/page_block_type.rb
caboose-cms-0.3.98 app/models/caboose/page_block_type.rb
caboose-cms-0.3.97 app/models/caboose/page_block_type.rb
caboose-cms-0.3.96 app/models/caboose/page_block_type.rb
caboose-cms-0.3.95 app/models/caboose/page_block_type.rb
caboose-cms-0.3.94 app/models/caboose/page_block_type.rb
caboose-cms-0.3.93 app/models/caboose/page_block_type.rb
caboose-cms-0.3.92 app/models/caboose/page_block_type.rb
caboose-cms-0.3.91 app/models/caboose/page_block_type.rb
caboose-cms-0.3.90 app/models/caboose/page_block_type.rb
caboose-cms-0.3.89 app/models/caboose/page_block_type.rb
caboose-cms-0.3.88 app/models/caboose/page_block_type.rb
caboose-cms-0.3.87 app/models/caboose/page_block_type.rb
caboose-cms-0.3.86 app/models/caboose/page_block_type.rb