blob: 46124f8865486daf656557c4d7f01d1b3912db6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
module Arel
module Sql
module RangeExtensions
def to_sql(formatter = nil)
formatter.range self.begin, self.end
end
def inclusion_predicate_sql
"BETWEEN"
end
Range.send(:include, self)
end
end
end
|