aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-03-25 20:27:37 +0530
committerKuldeep Aggarwal <kd.engineer@yahoo.co.in>2014-03-25 20:27:37 +0530
commit5a3817cb16e526a7b18699a6dcdafe40c42c1ddf (patch)
treeb22a9daaeb6b054d109f45da87b8a245c967b629 /activerecord/CHANGELOG.md
parent3fd15f484c2e0ddd8e4142d8c644767320920146 (diff)
downloadrails-5a3817cb16e526a7b18699a6dcdafe40c42c1ddf.tar.gz
rails-5a3817cb16e526a7b18699a6dcdafe40c42c1ddf.tar.bz2
rails-5a3817cb16e526a7b18699a6dcdafe40c42c1ddf.zip
Fix Generation of proper migration when
ActiveRecord::Base.pluralize_table_names = false. Previously, generation a migration like this: rails g migration add_column_name_to_user name would not generating the correct table name. Fixes #13426.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 0f95a257ef..0cbb5c294b 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,16 @@
+* Fix Generation of proper migration when
+ ActiveRecord::Base.pluralize_table_names = false.
+
+ Previously, generation a migration like this:
+
+ rails g migration add_column_name_to_user name
+
+ would not generating the correct table name.
+
+ Fixes #13426.
+
+ *Kuldeep Aggarwal*
+
* `touch` accepts many attributes to be touched at once.
Example: