rails 4.1 issue
magicmarkker opened this issue · 3 comments
I'm getting the following error in app/inputs/datetime_picker_input.rb
= f.input :expires, as: :datetime_picker
wrong number of arguments (0 for 1)
Any ideas how to fix?
Hi,
You are using a not compatible version of simpleform.
Take care, Zoltan
I'm using the latest master simple_form (3.0.2) why would that not be compatible?
Right, but that is stated in the README of the gem:
Compatibility
Master & eonasdan branches, tags v3.0.2+: Bootstrap 3+, Rails 4+ and SimpleForm 3.1.RC1+ (using https://github.com/eonasdan/bootstrap-datetimepicker.git as submodule, well maintained repo). Any further development will be made on these branches.
Tag v3.0.1 and tarruda branch: Bootstrap 3+, Rails 4+ and SimpleForm 3.1.RC1+ (using an upgraded version of https://github.com/tarruda/bootstrap-datetimepicker.git as inline code, not maintained). No further development, only bug fix for fatal issues on this branch.
Tag v1.0.0: Rails 3.2, Bootstrap 2.3.2 & SimpleForm >= 2.0.4 - No further development, only bug fix for fatal issues on this branch.