lib/venue.rb in ish_models-0.0.3 vs lib/venue.rb in ish_models-0.0.6

- old
+ new

@@ -1,11 +1,7 @@ - -require 'string' - class Venue - - include Mongoid::Document - include Mongoid::Timestamps + include ::Mongoid::Document + include ::Mongoid::Timestamps field :name, :type => String validates :name, :uniqueness => true, :allow_nil => false field :name_seo, :type => String