diff options
author | starbelly <starbelly@pobox.com> | 2015-08-01 16:48:56 -0500 |
---|---|---|
committer | starbelly <starbelly@pobox.com> | 2015-08-01 16:53:25 -0500 |
commit | 07f8a96aa14b642a8641dcb22dad07f995d3917e (patch) | |
tree | 4b92cfde57d3c7d1562db321a39c901fc04a81bd /activerecord/CHANGELOG.md | |
parent | c7a9f572d16b742b0138fb658bae30f08509b584 (diff) | |
download | rails-07f8a96aa14b642a8641dcb22dad07f995d3917e.tar.gz rails-07f8a96aa14b642a8641dcb22dad07f995d3917e.tar.bz2 rails-07f8a96aa14b642a8641dcb22dad07f995d3917e.zip |
Add run_cmd class method to ActiveRecord::Tasks::DatabaseTasks
- Added run_cmd() class method to dry up Kernel.system() messages within
this namespace and avoid shell expansion by passing a list of
arguments instead of a string
- Update structure_dump, structure_load, and related tests units to
pass a list of params instead of using a string to
avoid shell expansion
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r-- | activerecord/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 42b8515133..5c76319f47 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,11 @@ +* Added run_cmd class method to ActiveRecord::Tasks::DatabaseTasks for + drying up Kernel.system() calls within this namespace and to avoid + shell expansion by using a paramter list instead of string as arguments + for Kernel.system(). Thanks to Nate Berkopec for supply patch to get + test units passing. + + *Bryan Paxton* + * Properly allow uniqueness validations on primary keys. Fixes #20966. |