lib/hipbot/storages/mongoid.rb in hipbot-1.0.3 vs lib/hipbot/storages/mongoid.rb in hipbot-1.0.4

- old
+ new

@@ -9,10 +9,10 @@ field :_id, type: String field :name, type: String alias_method :to_s, :name - validate :name, presence: true + validates :name, presence: true end end end end