Adding simple SQL/Ruby validation steps.