We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 182243b commit 7997a7dCopy full SHA for 7997a7d
lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
@@ -691,6 +691,12 @@ def check_version
691
end
692
693
class << self
694
+
695
+ def type_map
696
+ @type_map ||= Type::TypeMap.new.tap { |m| initialize_type_map(m) }
697
+ @type_map
698
+ end
699
700
private
701
def initialize_type_map(m)
702
super
@@ -724,10 +730,9 @@ def initialize_type_map(m)
724
730
725
731
726
732
727
- TYPE_MAP = Type::TypeMap.new.tap { |m| initialize_type_map(m) }
728
733
729
734
def type_map
- TYPE_MAP
735
+ self.class.type_map
736
737
738
def extract_value_from_default(default)
0 commit comments