mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
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:
parent
5f035a7b38
commit
6460456202
3 changed files with 43 additions and 9 deletions
2
Gemfile
2
Gemfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue