I would like to ask how to override validation functionality in RoR?
In active_record_helper.rb class there is “hardcoded” default html
generated durning validation.
If I will use
validates_presence_of :summary, :description
in my model class, there is html generated:
2 errors prohibited this issue from being saved
There were problems with the following fields:
- Summary can't be blank
- Description can't be blank
What is the best approach to do this?