Fix old kernel.
This commit is contained in:
parent
5f66590e63
commit
2ebdf132f1
|
@ -4,7 +4,11 @@ class PageContext
|
|||
include Mongoid::Document
|
||||
include Mongoid::Timestamps
|
||||
include OrbitModel::Impression
|
||||
begin
|
||||
include AutoConvertUnitHelper
|
||||
rescue => e
|
||||
puts "kernel is old!"
|
||||
end
|
||||
|
||||
field :update_user_id
|
||||
field :version, :type => Integer , :default => 0
|
||||
|
|
Loading…
Reference in New Issue