Month: September 2020
-
Rails – skip validation in inherited classes.
Doing refactor in one of my applications I had to change behavior of single model. Since that was not total rewrite but just workflow change and I wanted to do A/B tests I needed both versions working. Instead of writing completely new model I opted for using class inherited from old version. New class should…