Sha256: 9f4baa7f5cefbd906e118513abe4119bce16bc6a954cf1b03a7ee788beff1352

Contents?: true

Size: 232 Bytes

Versions: 6

Compression:

Stored size: 232 Bytes

Contents

module Kawara
  class ArticlesMetaTag < ActiveRecord::Base

    belongs_to :article
    belongs_to :meta_tag, counter_cache: :articles_count

    validates :article,  presence: true
    validates :meta_tag, presence: true
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
kawara-0.3.2 app/models/kawara/articles_meta_tag.rb
kawara-0.3.1 app/models/kawara/articles_meta_tag.rb
kawara-0.3.0 app/models/kawara/articles_meta_tag.rb
kawara-0.2.0 app/models/kawara/articles_meta_tag.rb
kawara-0.1.1 app/models/kawara/articles_meta_tag.rb
kawara-0.1.0 app/models/kawara/articles_meta_tag.rb