Fixes for postgresql inet columns in Rails 4. They're backed by an IPAddr class now, which breaks sql parameter marker support, and automatically sets the attribute to nil when trying to assign an invalid ip address.

This commit is contained in:
Neil Lalonde
2013-10-22 18:55:30 -04:00
parent 6394d924c8
commit c1008f4359
5 changed files with 21 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ GIT
GIT
remote: git://github.com/rails/rails.git
revision: 0785008a64f4af8d09379683303d49d160cd444d
revision: 81432139a9ca5bf90f08273d88e6e4f583c4189b
branch: 4-0-stable
specs:
actionmailer (4.0.0)
@@ -434,7 +434,7 @@ GEM
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sprockets-rails (2.0.0)
sprockets-rails (2.0.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (~> 2.8)