Don't add classes to the top level namespace
I've been writing too much Rust. My mind is still in the mode of things being auto-namespaced based on the file...
This commit is contained in:
parent
8b64aba17b
commit
0ceaa733aa
@ -1,18 +1,22 @@
|
||||
module DetermineIfPreparableVisitor
|
||||
attr_reader :preparable
|
||||
module ActiveRecord
|
||||
module ConnectionAdapters
|
||||
module DetermineIfPreparableVisitor
|
||||
attr_reader :preparable
|
||||
|
||||
def accept(*)
|
||||
@preparable = true
|
||||
super
|
||||
end
|
||||
def accept(*)
|
||||
@preparable = true
|
||||
super
|
||||
end
|
||||
|
||||
def visit_Arel_Nodes_In(*)
|
||||
@preparable = false
|
||||
super
|
||||
end
|
||||
def visit_Arel_Nodes_In(*)
|
||||
@preparable = false
|
||||
super
|
||||
end
|
||||
|
||||
def visit_Arel_Nodes_SqlLiteral(*)
|
||||
@preparable = false
|
||||
super
|
||||
def visit_Arel_Nodes_SqlLiteral(*)
|
||||
@preparable = false
|
||||
super
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user