File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -100,7 +100,7 @@ def self.initialize!
100
100
return if @@_initialized ; @@_initialized = true
101
101
102
102
require 'arjdbc/util/serialized_attributes'
103
- Util ::SerializedAttributes . setup / blob|clob/ i, 'after_save_with_db2_lob'
103
+ Util ::SerializedAttributes . setup %r{ blob|clob} i, 'after_save_with_db2_lob'
104
104
end
105
105
106
106
# @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_connection_class
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ def self.initialize!
16
16
return if @@_initialized ; @@_initialized = true
17
17
18
18
require 'arjdbc/util/serialized_attributes'
19
- Util ::SerializedAttributes . setup / blob/ i
19
+ Util ::SerializedAttributes . setup %r{ blob} i
20
20
end
21
21
22
22
# @see ActiveRecord::ConnectionAdapters::JdbcAdapter#jdbc_connection_class
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def self.initialize!
40
40
return if @@_initialized ; @@_initialized = true
41
41
42
42
require 'arjdbc/util/serialized_attributes'
43
- Util ::SerializedAttributes . setup / LOB\( |LOB$/ i, 'after_save_with_oracle_lob'
43
+ Util ::SerializedAttributes . setup %r{ LOB\( |LOB$} i, 'after_save_with_oracle_lob'
44
44
45
45
unless ActiveRecord ::ConnectionAdapters ::AbstractAdapter .
46
46
instance_methods ( false ) . detect { |m | m . to_s == "prefetch_primary_key?" }
You can’t perform that action at this time.
0 commit comments