lib/wally/feature.rb in wally-0.0.24 vs lib/wally/feature.rb in wally-0.0.25
- old
+ new
@@ -1,7 +1,8 @@
module Wally
class Feature
- include Mongoid::Document
- field :path, :type => String
- field :content, :type => String
+ include MongoMapper::Document
+
+ key :path, String
+ key :content, String
end
end