Skip to content

Commit e309aee

Browse files
aidanharanAidan Haran
and
Aidan Haran
authored
Revert PR #885 in favour of #883 (#896)
Co-authored-by: Aidan Haran <aharan@fusioneer.com>
1 parent c4cf20f commit e309aee

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
- [#879](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/879) Added visit method for HomogeneousIn
1111
- [#880](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/880) Handle any default column class when deduplicating
1212
- [#861](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/861) Fix Rails 6.1 database config
13-
- [#885](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/885) Fix the quoting of ActiveModel attributes
1413
- [#890](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/890) Fix removal of invalid ordering from select statements
1514
- [#881](https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/pull/881) Dump column collation to schema.rb and allow collation changes using column_change
1615

lib/active_record/connection_adapters/sqlserver/quoting.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ def _quote(value)
118118
value.quoted
119119
when String, ActiveSupport::Multibyte::Chars
120120
"#{QUOTED_STRING_PREFIX}#{super}"
121-
when ActiveModel::Attribute
122-
quote(value.value_for_database)
123121
else
124122
super
125123
end

0 commit comments

Comments
 (0)