method

reload_schema_from_cache

Importance_0
v5.0.0.1 - 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 366
      def reload_schema_from_cache
        @arel_engine = nil
        @arel_table = nil
        @column_names = nil
        @attribute_types = nil
        @content_columns = nil
        @default_attributes = nil
        @inheritance_column = nil unless defined?(@explicit_inheritance_column) && @explicit_inheritance_column
        @attributes_builder = nil
        @columns = nil
        @columns_hash = nil
        @attribute_names = nil
        direct_descendants.each do |descendant|
          descendant.send(:reload_schema_from_cache)
        end
      end
Register or log in to add new notes.