Skip to content

Commit 1a7f63a

Browse files
committed
Don't use soft-deprecated for form_tag and form_for in the guides
Just tell people they exists and are discouraged in favor of `form_with`, but they can still find them in some codebases, and people can still and forever will be able to use it.
1 parent 44edd6b commit 1a7f63a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/source/form_helpers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,4 +1338,4 @@ Generally, these helpers have the same name as their form builder counterparts p
13381338
Using `form_tag` and `form_for`
13391339
-------------------------------
13401340

1341-
Before `form_with` was introduced in Rails 5.1 its functionality was split between [`form_tag`](https://api.rubyonrails.org/v5.2/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag) and [`form_for`](https://api.rubyonrails.org/v5.2/classes/ActionView/Helpers/FormHelper.html#method-i-form_for). Both are now soft-deprecated in favor of `form_with`.
1341+
Before `form_with` was introduced in Rails 5.1 its functionality was split between [`form_tag`](https://api.rubyonrails.org/v5.2/classes/ActionView/Helpers/FormTagHelper.html#method-i-form_tag) and [`form_for`](https://api.rubyonrails.org/v5.2/classes/ActionView/Helpers/FormHelper.html#method-i-form_for). Both are now discouraged in favor of `form_with`, but you can still find being used in some codebases.

0 commit comments

Comments
 (0)