mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix all rubocop violations
This commit is contained in:
parent
23b07019ae
commit
f7d0bd657f
3 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "time"
|
||||
|
||||
module ActiveSupport
|
||||
|
|
Loading…
Reference in a new issue