aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2017-03-26 11:42:39 +0200
committerYves Senn <yves.senn@gmail.com>2017-03-26 12:11:45 +0200
commit27f103fc7e3260efe0b8dde66bf5354f2202ee32 (patch)
treeef196c56123ccb0859830c39b74b6458250d0bcf /railties/CHANGELOG.md
parentd96dde82b7ff3a216c16eb87e2d346341ad53c05 (diff)
downloadrails-27f103fc7e3260efe0b8dde66bf5354f2202ee32.tar.gz
rails-27f103fc7e3260efe0b8dde66bf5354f2202ee32.tar.bz2
rails-27f103fc7e3260efe0b8dde66bf5354f2202ee32.zip
add field ids when generating a scaffold form.
This is a follow up to a6d065e. When using `form_with` you must supply field ids manually. Since the scaffold generator is using labels we need to make sure that they are linked up properly.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r--railties/CHANGELOG.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md
index 6032d2e1a1..46bb0fbc91 100644
--- a/railties/CHANGELOG.md
+++ b/railties/CHANGELOG.md
@@ -1 +1,10 @@
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes.
+
+
+* Specify form field ids when generating a scaffold.
+
+ This makes sure that the labels are linked up with the fields. The
+ regression was introduced when the template was switched to
+ `form_with`.
+
+ *Yves Senn*