Sha256: 9bd0a4bf4bf285bed49434f3ce3ae2814871631be83cd3b6fb6841d380f0551c

Contents?: true

Size: 194 Bytes

Versions: 3

Compression:

Stored size: 194 Bytes

Contents

module Pulitzer
  class PostTag < ActiveRecord::Base
    belongs_to :version
    belongs_to :label, polymorphic: true
    validates :version_id, :label_id, :label_type, presence: true
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pulitzer-0.1.10 app/models/pulitzer/post_tag.rb
pulitzer-0.1.9 app/models/pulitzer/post_tag.rb
pulitzer-0.1.8 app/models/pulitzer/post_tag.rb