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 31387aa commit 67f2d57Copy full SHA for 67f2d57
lib/active_record/connection_adapters/oracle_enhanced_adapter.rb
@@ -410,7 +410,7 @@ def supports_longer_identifier?
410
# :startdoc:
411
412
def native_database_types # :nodoc:
413
- emulate_booleans_from_strings ? NATIVE_DATABASE_TYPES_BOOLEAN_STRINGS : NATIVE_DATABASE_TYPES
+ self.class.native_database_types
414
end
415
416
# CONNECTION MANAGEMENT ====================================
@@ -711,6 +711,10 @@ def check_version
711
712
713
class << self
714
+ def native_database_types
715
+ emulate_booleans_from_strings ? NATIVE_DATABASE_TYPES_BOOLEAN_STRINGS : NATIVE_DATABASE_TYPES
716
+ end
717
+
718
def type_map
719
@type_map ||= Type::TypeMap.new.tap { |m| initialize_type_map(m) }
720
@type_map
0 commit comments