Impressionist
This commit is contained in:
parent
2c6c5d9918
commit
9b8febb80b
|
@ -3,9 +3,7 @@
|
||||||
class PageContext
|
class PageContext
|
||||||
include Mongoid::Document
|
include Mongoid::Document
|
||||||
include Mongoid::Timestamps
|
include Mongoid::Timestamps
|
||||||
include Impressionist::Impressionable
|
include OrbitModel::Impression
|
||||||
|
|
||||||
is_impressionable :counter_cache => { :column_name => :view_count }
|
|
||||||
|
|
||||||
field :update_user_id
|
field :update_user_id
|
||||||
field :version, :type => Integer , :default => 0
|
field :version, :type => Integer , :default => 0
|
||||||
|
|
Loading…
Reference in New Issue