hsgubert / cassandra_migrations

Cassandra Migrations is a Cassandra database schema migration library for Rails applications.
MIT License
45 stars 43 forks source link

Passing in nil from rails should automatically convert to null in Cassandra query #50

Closed sstgithub closed 9 years ago

sstgithub commented 9 years ago

Currently, Rails cannot accept null as a value and Cassandra wont accept nil as a value. Can default behavior be changed so all nil values coming in from rails are automatically converted to null before being used in a Cassandra query?

NOTE: Rails nil stored as "" which normally works for type string but not for type double