Methods
E
T
V
Instance Public methods
errors_on_empty_content()
# File rails/activerecord/test/fixtures/reply.rb, line 16
def errors_on_empty_content
  errors.add("content", "Empty") unless attribute_present? "content"
end
title_is_wrong_create()
# File rails/activerecord/test/fixtures/reply.rb, line 26
def title_is_wrong_create
  errors.add("title", "is Wrong Create") if attribute_present?("title") && title == "Wrong Create"
end
validate()
# File rails/activerecord/test/fixtures/reply.rb, line 12
def validate
  errors.add("title", "Empty")   unless attribute_present? "title"
end
validate_on_create()
# File rails/activerecord/test/fixtures/reply.rb, line 20
def validate_on_create
  if attribute_present?("title") && attribute_present?("content") && content == "Mismatch"
    errors.add("title", "is Content Mismatch") 
  end
end
validate_on_update()
# File rails/activerecord/test/fixtures/reply.rb, line 30
def validate_on_update
  errors.add("title", "is Wrong Update") if attribute_present?("title") && title == "Wrong Update"
end