spec/dummy/app/models/doo.rb in oh_my_log-1.0.2 vs spec/dummy/app/models/doo.rb in oh_my_log-1.0.3

- old
+ new

@@ -1,6 +1,12 @@ class Doo < ApplicationRecord + if OHMYLOG_ORM == :mongoid + include Mongoid::Document + field :name, type: String + field :value, type: Integer + include ::Mongoid::Timestamps + end end \ No newline at end of file