validators() public

List all validators that are being used to validate the model using validates_with method.

Show source
# File activemodel/lib/active_model/validations.rb, line 147
 def validators
 _validators.values.flatten.uniq
 end
Register or log in to add new notes.

AltStyle によって変換されたページ (->オリジナル) /