diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-12-29 15:23:32 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-29 15:23:32 -0500 |
commit | f64e2eb83c584ab4a1cac714c2162415ed80711a (patch) | |
tree | 0acf761e3aa24b31b7651fe2070841cbe9e85aa3 /activerecord | |
parent | 8990f767f7e1134a0c62db792375c9150de8c274 (diff) | |
parent | f39492c75a5bae6d5ce37515e0de80431e5f96ff (diff) | |
download | rails-f64e2eb83c584ab4a1cac714c2162415ed80711a.tar.gz rails-f64e2eb83c584ab4a1cac714c2162415ed80711a.tar.bz2 rails-f64e2eb83c584ab4a1cac714c2162415ed80711a.zip |
Merge pull request #27493 from kamipo/sync_visibility
Sync the visibility of `sql_for_insert` to private
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb index 520a50506f..9a2017b443 100644 --- a/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb @@ -134,7 +134,7 @@ module ActiveRecord super end - protected :sql_for_insert + private :sql_for_insert def exec_insert(sql, name = nil, binds = [], pk = nil, sequence_name = nil) if use_insert_returning? || pk == false |