KimNorgaard / validates_hostname

Extension to ActiveRecord::Base for validating hostnames and domain names
MIT License
38 stars 12 forks source link

Allow the gem to be used with Rails 4. #4

Closed lowjoel closed 9 years ago

lowjoel commented 9 years ago

Using this in a Rails 4 project would block because of the version specified for ActiveRecord.

lowjoel commented 9 years ago

@sshaw Added changes based on your comments, thanks.

lowjoel commented 9 years ago

(is worried that the gem doesn't have Travis configured...)

lowjoel commented 9 years ago

@sshaw I have to keep rspec-rails because the specs use an ActiveRecord helper (on_error)

KimNorgaard commented 9 years ago

Thanks

sshaw commented 9 years ago

@lowjoel :+1: