Compatibility with simple_form 3.0.* and 3.1.0.rc