This is my model:
class Post
include Mongoid::Document
include Mongoid::Timestamps
belongs_to :user, optional: true
has_many :comments
field :title, type: String
field :body, type: String
validates :title, presence: true
validates :body, presence: true
end
When I get a validation error on the body field I get "Body can't be blank" and I want to change this to "Content Can't be blank" in the model. How do I change the field label?