Update Formtastic and formtastic-bootstrap

Previous version of Formtastic was giving following deprecation warning:
`#column_for_attribute` will return a null object for non-existent
columns in Rails 5. Use #has_attribute? if you need to check for
an attribute's existence.

Guide followed for upgrade: https://github.com/justinfrench/formtastic/wiki/Upgrading-to-Formtastic-3.1

formtastic-bootstrap is upgraded for compatibility with current Formtastic.
This commit is contained in:
Aditya Prakash 2016-02-12 23:38:43 +05:30
parent 5f035a7b38
commit 6460456202
3 changed files with 43 additions and 9 deletions

View file

@ -52,7 +52,7 @@ gem 'uglifier', '>= 1.3.0'
gem 'bootstrap-sass', '~> 3.3.4.1'
gem 'autoprefixer-rails'
gem 'formtastic-bootstrap'
gem 'formtastic', '~> 2.3.0.rc3'
gem 'formtastic', '~> 3.1.1'
gem 'cocoon'
# frontend javascripts