Fixes the deprecation warning with simple_form

See https://github.com/plataformatec/simple_form/pull/997