Closed mjonuschat closed 10 years ago
Yeah, i'll be closing this - no need to pollute the issues with duplicates since I'm indifferent to the approach for a workaround. I've been using something along the lines of yabawock/validates_timeliness@7f029097e7605f91adaf92268e2ffa881e328def for a while, just never got around to making it public.
Using the gem with Rails 4.1.0.rc1 results in the following deprecation warning:
DEPRECATION WARNING: The
Validator#setup
instance method is deprecated and will be removed on Rails 4.2. Do your setup in the constructor instead: