validation - Rails custom validator not working in console only -
i have custom validator dimensions_validator
in app/validators.
works fine in app in development. when bring rails console
, try load model, pngpic.count
, argumenterror: unknown validator: 'dimensionsvalidator'
. gives? how console different webrick server?
i've restarted console few times, no luck.
you can check out threads , compare own.
Comments
Post a Comment