method

extract_table_name_from

rails latest stable - Class: ActiveRecord::QueryMethods

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

extract_table_name_from(string)
private

No documentation available.

# File activerecord/lib/active_record/relation/query_methods.rb, line 2102
      def extract_table_name_from(string)
        string.match(/^\W?(\w+)\W?\./) && $1
      end