Skip to content

Commit 407f70e

Browse files
committed
Add to_s method to SQLServer::Type::Char::Data.
* Thanks @marceloeloelo. * Fixes #471.
1 parent e0e29cf commit 407f70e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v4.2.13
2+
3+
#### Fixed
4+
5+
* Add to_s method to SQLServer::Type::Char::Data. Thanks @marceloeloelo.
6+
7+
18
## v4.2.12
29

310
#### Fixed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def quoted
2727
def to_s
2828
@value
2929
end
30+
alias_method :to_str, :to_s
3031

3132
end
3233

0 commit comments

Comments
 (0)