Skip to content

Commit 6af339d

Browse files
authored
Merge pull request #963 from aidanharan/quoted_time_fix
[Rails 7] Added support for quoted_time
2 parents 97b3262 + 8ec8f6a commit 6af339d

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ module Type
77
class Data
88
attr_reader :value, :type
99

10+
delegate :sub, to: :value
11+
1012
def initialize(value, type)
1113
@value, @type = value, type
1214
end

0 commit comments

Comments
 (0)