rails-sqlserver/activerecord-sqlserver-adapter — Issue #164: empty string for a nullable column are not converted to null
Author: andreacfm
Created: 2012-02-16 11:11:29+00:00
State: open

I have a noted a different behaviour between the sqlserver and pg adapter.
When passing an empty string to the pg adapter that refers to a column of type string nullable this is passed to the query as NULL. The sqlserver adapter pass the empty string to the query and this fails in my case due to a constraints that I have on that particular column.