Sha256: d6cda696366881dbda969d989a47ccc67296c872f3b6b35d05948ae5c079e030

Contents?: true

Size: 324 Bytes

Versions: 8

Compression:

Stored size: 324 Bytes

Contents

require 'mongoid'

class MetaTag
  include Mongoid::Document
  include Mongoid::Timestamps
  include MetaManager::Model

  # Columns
  field :name, :type => String
  field :content, :type => String
  field :is_dynamic, :type => Boolean

  index({:name => 1})

  belongs_to :taggable, :polymorphic => true, :index => true
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
meta_manager-0.3.0 lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.2.3 lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.2.2 lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.2.1 lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.2.0 lib/meta_manager/models/mongoid/meta_tag.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/meta_manager-0.1.1/lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.1.1 lib/meta_manager/models/mongoid/meta_tag.rb
meta_manager-0.1.0 lib/meta_manager/models/mongoid/meta_tag.rb