Hi
I was wondering if it was possible to use the validators without using the class method. Instead of doing something like this:
classServer < ActiveRecord::Basevalidates_ip_address:addressend
I would like to write something like this:
classServer < ActiveRecord::Basevalidate:address,using: IpAddressValidatorend
Thanks!
Hi
I was wondering if it was possible to use the validators without using the class method. Instead of doing something like this:
I would like to write something like this:
Thanks!