Sha256: 152e0f3450232385b35b13e7245e11ac2d0bd2996c3656da1953f6d5a032dcb9

Contents?: true

Size: 311 Bytes

Versions: 14

Compression:

Stored size: 311 Bytes

Contents

class Caboose::Site < ActiveRecord::Base
  self.table_name = "sites"
       
  has_many :site_memberships, :class_name => 'Caboose::SiteMembership', :dependent => :delete_all
  has_many :domains, :class_name => 'Caboose::Domain', :dependent => :delete_all    
  attr_accessible :id, :name, :description
  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
caboose-cms-0.4.57 app/models/caboose/site.rb
caboose-cms-0.4.56 app/models/caboose/site.rb
caboose-cms-0.4.55 app/models/caboose/site.rb
caboose-cms-0.4.54 app/models/caboose/site.rb
caboose-cms-0.4.53 app/models/caboose/site.rb
caboose-cms-0.4.52 app/models/caboose/site.rb
caboose-cms-0.4.51 app/models/caboose/site.rb
caboose-cms-0.4.50 app/models/caboose/site.rb
caboose-cms-0.4.49 app/models/caboose/site.rb
caboose-cms-0.4.48 app/models/caboose/site.rb
caboose-cms-0.4.47 app/models/caboose/site.rb
caboose-cms-0.4.46 app/models/caboose/site.rb
caboose-cms-0.4.45 app/models/caboose/site.rb
caboose-cms-0.4.43 app/models/caboose/site.rb