Is there a way to find all the specific checks for the model. For instance:
class Temp < ActiveRecord::Base validate_uniqueness_of :name validate :some_method def some_method ... end end
When I try:
Temp.validators
He finds only a test of uniqueness, but not another.
source share