Sha256: b502afa932022f6be8f81c4ac34190da10dda0c8ec08edb5dff6749a5ae58f30

Contents?: true

Size: 177 Bytes

Versions: 19

Compression:

Stored size: 177 Bytes

Contents

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

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
imagine_cms-3.0.11 app/models/cms_page_tag.rb
imagine_cms-3.0.10 app/models/cms_page_tag.rb
imagine_cms-3.0.9 app/models/cms_page_tag.rb
imagine_cms-3.0.8 app/models/cms_page_tag.rb
imagine_cms-3.0.7 app/models/cms_page_tag.rb
imagine_cms-3.0.6 app/models/cms_page_tag.rb
imagine_cms-3.0.5 app/models/cms_page_tag.rb
imagine_cms-3.0.4 app/models/cms_page_tag.rb
imagine_cms-3.0.3 app/models/cms_page_tag.rb
imagine_cms-3.0.2 app/models/cms_page_tag.rb
imagine_cms-3.0.1 app/models/cms_page_tag.rb
imagine_cms-3.0.0 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta13 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta12 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta11 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta10 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta9 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta8 app/models/cms_page_tag.rb
imagine_cms-3.0.0.beta7 app/models/cms_page_tag.rb