From 07f8a96aa14b642a8641dcb22dad07f995d3917e Mon Sep 17 00:00:00 2001 From: starbelly Date: Sat, 1 Aug 2015 16:48:56 -0500 Subject: 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 --- activerecord/CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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. -- cgit v1.2.3