Sha256: 13a74c95c46ee0bffd8f7d409f1f6ff9d591087e2d7f219ce1d9e6ace77d9b8e

Contents?: true

Size: 206 Bytes

Versions: 7

Compression:

Stored size: 206 Bytes

Contents

class CmsPageTag < ActiveRecord::Base
  # attr_accessible :name
  
  belongs_to :page, :class_name => 'CmsPage', :foreign_key => 'cms_page_id'
  
  validates_uniqueness_of :name, :scope => 'cms_page_id'
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
imagine_cms-4.1.4 app/models/cms_page_tag.rb
imagine_cms-4.1.3 app/models/cms_page_tag.rb
imagine_cms-4.1.2 app/models/cms_page_tag.rb
imagine_cms-4.1.1 app/models/cms_page_tag.rb
imagine_cms-4.1.0 app/models/cms_page_tag.rb
imagine_cms-4.0.1 app/models/cms_page_tag.rb
imagine_cms-4.0.0 app/models/cms_page_tag.rb