use custom column coder

Fix uniqueness validation with Active Record
update rails 4 gemfile