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.85 app/models/caboose/page_block_type.rb
caboose-cms-0.3.84 app/models/caboose/page_block_type.rb
caboose-cms-0.3.83 app/models/caboose/page_block_type.rb
caboose-cms-0.3.82 app/models/caboose/page_block_type.rb
caboose-cms-0.3.81 app/models/caboose/page_block_type.rb
caboose-cms-0.3.80 app/models/caboose/page_block_type.rb
caboose-cms-0.3.79 app/models/caboose/page_block_type.rb
caboose-cms-0.3.78 app/models/caboose/page_block_type.rb
caboose-cms-0.3.77 app/models/caboose/page_block_type.rb
caboose-cms-0.3.76 app/models/caboose/page_block_type.rb
caboose-cms-0.3.75 app/models/caboose/page_block_type.rb
caboose-cms-0.3.74 app/models/caboose/page_block_type.rb
caboose-cms-0.3.73 app/models/caboose/page_block_type.rb
caboose-cms-0.3.72 app/models/caboose/page_block_type.rb
caboose-cms-0.3.71 app/models/caboose/page_block_type.rb
caboose-cms-0.3.70 app/models/caboose/page_block_type.rb
caboose-cms-0.3.69 app/models/caboose/page_block_type.rb
caboose-cms-0.3.68 app/models/caboose/page_block_type.rb
caboose-cms-0.3.67 app/models/caboose/page_block_type.rb
caboose-cms-0.3.66 app/models/caboose/page_block_type.rb