How to remove validation using instance_eval clause in Rails?

后端 未结 18 1828
情话喂你
情话喂你 2021-02-01 02:11

I would like to enhance existing class using instance_eval. There original definition contains validation, which require presence of certain fields, ie:

class Du         


        
18条回答
提交回复
热议问题