method

reload_schema_from_cache

Importance_0
v7.0.0 - Show latest stable - 0 notes - Class: ClassMethods
reload_schema_from_cache() private

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 583
        def reload_schema_from_cache
          @arel_table = nil
          @column_names = nil
          @symbol_column_to_string_name_hash = nil
          @attribute_types = nil
          @content_columns = nil
          @default_attributes = nil
          @column_defaults = nil
          @attributes_builder = nil
          @columns = nil
          @columns_hash = nil
          @schema_loaded = false
          @attribute_names = nil
          @yaml_encoder = nil
          subclasses.each do |descendant|
            descendant.send(:reload_schema_from_cache)
          end
        end
Register or log in to add new notes.