diff options
author | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-03-25 20:27:37 +0530 |
---|---|---|
committer | Kuldeep Aggarwal <kd.engineer@yahoo.co.in> | 2014-03-25 20:27:37 +0530 |
commit | 5a3817cb16e526a7b18699a6dcdafe40c42c1ddf (patch) | |
tree | b22a9daaeb6b054d109f45da87b8a245c967b629 /activerecord/CHANGELOG.md | |
parent | 3fd15f484c2e0ddd8e4142d8c644767320920146 (diff) | |
download | rails-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.md | 13 |
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: |