APIdock / Ruby on Rails
/
Browse About
method

tables_in_string

v2.3.8 - Show latest stable - Class: ActiveRecord::Associations::ClassMethods
tables_in_string(string)
private

No documentation available.

# File activerecord/lib/active_record/associations.rb, line 1707
        def tables_in_string(string)
          return [] if string.blank?
          string.scan(/([\.a-zA-Z_]+).?\./).flatten
        end

Related methods

  • Instance methods
  • belongs_to
  • has_and_belongs_to_many
  • has_many
  • has_one
  • Private methods
  • privateadd_association_callbacks
  • privateadd_counter_cache_callbacks
  • privateadd_limited_ids_condition!
  • privateadd_touch_callbacks
  • privateassociation_accessor_methods
  • privateassociation_constructor_method
  • privatecollection_accessor_methods
  • privatecollection_reader_method
  • privatecolumn_aliases
  • privatecondition_word
  • privateconditions_tables
  • privateconfigure_dependency_for_belongs_to
  • privateconfigure_dependency_for_has_many
  • privateconfigure_dependency_for_has_one
  • privateconstruct_finder_sql_for_association_limiting
  • privateconstruct_finder_sql_with_included_associations
  • privatecreate_belongs_to_reflection
  • privatecreate_extension_modules
  • privatecreate_has_and_belongs_to_many_reflection
  • privatecreate_has_many_reflection
  • privatecreate_has_one_reflection
  • privatecreate_has_one_through_reflection
  • privatedelete_all_has_many_dependencies
  • privatefind_with_associations
  • privateguard_against_unlimitable_reflections
  • privateinclude_eager_conditions?
  • privateinclude_eager_order?
  • privateinclude_eager_select?
  • privatejoin_table_name
  • privatejoined_tables
  • privatenullify_has_many_dependencies
  • privateorder_tables
  • privatereferences_eager_loaded_tables?
  • privatereflect_on_included_associations
  • privateselect_all_rows
  • privateselect_limited_ids_list
  • privateselects_tables
  • privatetables_in_hash
  • privatetables_in_string
  • privateusing_limitable_reflections?
APIdock API Documentation Browser

© 2026 APIdock