that is, if app/models/animal.rb
has
class Animal
include Mongoid::Document
field :name, :type => String
field :birthday, :type => Time
end
and then in app/models/cat.rb
class Cat < Animal
include Mongoid::Document
field :nail_length, :type => Float
end
then do you need to set some kind of "type" in Animal to remember it is a Cat, or is it automatic?