Skip to content

Commit 5d30181

Browse files
committed
[Rails5] Allow simple "created_at > ?" conditions.
1 parent 8b07807 commit 5d30181

File tree

1 file changed

+2
-2
lines changed
  • lib/active_record/connection_adapters/sqlserver

1 file changed

+2
-2
lines changed

lib/active_record/connection_adapters/sqlserver/quoting.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ def unquoted_false
6262

6363
def quoted_date(value)
6464
if value.acts_like?(:date)
65-
Type::Date.new.serialize(value).quoted
65+
Type::Date.new.serialize(value)
6666
else value.acts_like?(:time)
67-
Type::DateTime.new.serialize(value).quoted
67+
Type::DateTime.new.serialize(value)
6868
end
6969
end
7070

0 commit comments

Comments
 (0)