diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:45:23 -0400 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-08-03 17:45:40 -0400 |
commit | f7d0bd657f5003ceede4c7e6322cb0f013db06a8 (patch) | |
tree | d670f7461fac550b63144f5a12f629c8bbaf6edb /activerecord/lib/active_record | |
parent | 23b07019aec2c0341af13aac17a4848738c1f836 (diff) | |
download | rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.tar.gz rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.tar.bz2 rails-f7d0bd657f5003ceede4c7e6322cb0f013db06a8.zip |
Fix all rubocop violations
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb index 314a35207b..5febb5a59f 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb @@ -465,12 +465,12 @@ module ActiveRecord @binds = [] end - def << str + def <<(str) @parts << str self end - def add_bind obj + def add_bind(obj) @binds << obj @parts << Arel::Nodes::BindParam.new(1) self |