add strip_attributes

converts empty string to nil on the user model
so unique indexes with null: true will not break
This commit is contained in:
jomo
2015-08-26 02:54:51 +02:00
parent 20d31494dc
commit 9edbdb7d55
4 changed files with 6 additions and 2 deletions

View File

@@ -165,6 +165,8 @@ GEM
colorize (>= 0.7.0)
net-scp (>= 1.1.2)
net-ssh (>= 2.8.0)
strip_attributes (1.5.1)
activemodel (>= 3.0, < 5.0)
thor (0.19.1)
thread_safe (0.3.3)
tilt (1.4.1)
@@ -207,6 +209,7 @@ DEPENDENCIES
rest-client
sanitize
sass-rails
strip_attributes
uglifier
unicorn
webrick