lib/stratify/activity.rb in stratify-base-0.1.3 vs lib/stratify/activity.rb in stratify-base-0.1.4
- old
+ new
@@ -8,10 +8,10 @@
include Mongoid::Paranoia
include MongoidExtension::NaturalKey
include Renderable
store_in :activities
-
+
field :source, :type => String
field :created_at, :type => DateTime
validates_presence_of :created_at