APIdock / Ruby on Rails
/
Browse About
method

symbol_column_to_string

v6.1.7.7 - Show latest stable - Class: ActiveRecord::ModelSchema::ClassMethods
symbol_column_to_string(name_symbol)
public

No documentation available.

# File activerecord/lib/active_record/model_schema.rb, line 469
      def symbol_column_to_string(name_symbol) # :nodoc:
        @symbol_column_to_string_name_hash ||= column_names.index_by(&:to_sym)
        @symbol_column_to_string_name_hash[name_symbol]
      end

Related methods

  • Instance methods
  • _default_attributes
  • attribute_types
  • attributes_builder
  • column_defaults
  • column_for_attribute
  • column_names
  • columns
  • columns_hash
  • content_columns
  • full_table_name_prefix
  • full_table_name_suffix
  • ignored_columns
  • ignored_columns=
  • inheritance_column
  • inheritance_column=
  • next_sequence_value
  • prefetch_primary_key?
  • protected_environments
  • protected_environments=
  • quoted_table_name
  • reset_column_information
  • reset_sequence_name
  • reset_table_name
  • sequence_name
  • sequence_name=
  • symbol_column_to_string
  • table_exists?
  • table_name
  • table_name=
  • type_for_attribute
  • yaml_encoder
  • Protected methods
  • protectedinitialize_load_schema_monitor
  • Private methods
  • private_convert_type_from_options
  • privatecompute_table_name
  • privateinherited
  • privateload_schema
  • privateload_schema!
  • privatereload_schema_from_cache
  • privateschema_loaded?
  • privateundecorated_table_name
  • privatewarn_if_deprecated_type
APIdock API Documentation Browser

© 2026 APIdock