method

symbol_column_to_string

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: ClassMethods
symbol_column_to_string(name_symbol) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/model_schema.rb, line 407
      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
Register or log in to add new notes.