Skip to content

Commit 257c9a0

Browse files
committed
Add to_s method to SQLServer::Type::Char::Data object
1 parent 2c09b8f commit 257c9a0

File tree

1 file changed

+4
-0
lines changed
  • lib/active_record/connection_adapters/sqlserver/type

1 file changed

+4
-0
lines changed

lib/active_record/connection_adapters/sqlserver/type/char.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ def quoted
2424
"'#{@value}'"
2525
end
2626

27+
def to_s
28+
@value
29+
end
30+
2731
end
2832

2933
end

0 commit comments

Comments
 (0)