From 6b937bb9556bc7c51aa8cfa60791c4910763e5e3 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 17 Jan 2016 17:08:24 +0900 Subject: Deprecate `{insert|update|delete}_sql` in `DatabaseStatements` Originally, `{insert|update|delete}_sql` is protected methods. We can use the `{insert|update|delete}` public methods instead. --- activerecord/CHANGELOG.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'activerecord/CHANGELOG.md') diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 7438ac8a9d..861f2c3c36 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,3 +1,8 @@ +* Deprecate `{insert|update|delete}_sql` in `DatabaseStatements`. + Use the `{insert|update|delete}` public methods instead. + + *Ryuta Kamizono* + * Added a configuration option to have active record raise an ArgumentError if the order or limit is ignored in a batch query, rather than logging a warning message. @@ -81,7 +86,6 @@ *Bogdan Gusiev* - * Allow `joins` to be unscoped. Fixes #13775. -- cgit v1.2.3