summaryrefslogtreecommitdiff
path: root/Gemfile
diff options
context:
space:
mode:
authorjomo <github@jomo.tv>2015-08-26 02:54:51 +0200
committerjomo <github@jomo.tv>2015-08-26 02:54:51 +0200
commit9edbdb7d553b925af55fdaa3a7448d8599e5cd37 (patch)
treedadbef6a02858cd25e4e4725c81c348ea723d954 /Gemfile
parent20d31494dc25af49ca102d6163e87d45920844fb (diff)
add strip_attributes
converts empty string to nil on the user model so unique indexes with null: true will not break
Diffstat (limited to 'Gemfile')
-rw-r--r--Gemfile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Gemfile b/Gemfile
index 7d6f0ff..eac521d 100644
--- a/Gemfile
+++ b/Gemfile
@@ -6,6 +6,7 @@ gem 'mysql2'
gem 'jquery-rails'
gem 'bcrypt-ruby' # To use ActiveModel's has_secure_password
gem 'sanitize'
+gem 'strip_attributes'
gem 'redcarpet', '~> 3.2.3'
gem 'hirb' # pretty console output
gem 'rb-readline'