Methods
C
E
T
Instance Public methods
check_content_mismatch()
# File activemodel/test/models/reply.rb, line 19
def check_content_mismatch
  if title && content && content == "Mismatch"
    errors[:title] << "is Content Mismatch"
  end
end
check_empty_title()
# File activemodel/test/models/reply.rb, line 11
def check_empty_title
  errors[:title] << "is Empty" unless title && title.size > 0
end
check_wrong_update()
# File activemodel/test/models/reply.rb, line 29
def check_wrong_update
  errors[:title] << "is Wrong Update" if title && title == "Wrong Update"
end
errors_on_empty_content()
# File activemodel/test/models/reply.rb, line 15
def errors_on_empty_content
  errors[:content] << "is Empty" unless content && content.size > 0
end
title_is_wrong_create()
# File activemodel/test/models/reply.rb, line 25
def title_is_wrong_create
  errors[:title] << "is Wrong Create" if title && title == "Wrong Create"
end