blob: ea582d1ca1819e70071946fba1c2cc2145e73b0f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
class Object
include ActiveRelation::SqlBuilder
def qualify
self
end
def to_sql(options = {})
options.reverse_merge!(:quote => true)
options[:quote] ? quote(self) : self
end
end
|