Skip to content

Commit

Permalink
Fix deprecation warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
tegon committed Sep 27, 2019
1 parent c689563 commit 939e424
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/simple_form.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def %{name}(wrapper_options)
FILE_METHODS_DEPRECATION_WARN = <<-WARN
[SIMPLE_FORM] SimpleForm.file_methods is deprecated and has no effect.
Since version 5, Simple Form now supports automatically discover of file inputs for the following Gems: activesupport, carrierwave, paperclip and refile, shrine. If you are using a custom method that is not from one of the supported Gems, please change your forms to pass the input type explicitly:
Since version 5, Simple Form now supports automatically discover of file inputs for the following Gems: activesupport, carrierwave, paperclip, refile and shrine.
If you are using a custom method that is not from one of the supported Gems, please change your forms to pass the input type explicitly:
<%= form.input :avatar, as: :file %>
Expand Down

0 comments on commit 939e424

Please sign in to comment.