method
reload_schema_from_cache
v7.1.3.2 -
Show latest stable
- Class:
ActiveRecord::ModelSchema::ClassMethods
reload_schema_from_cache(recursive = true)protected
No documentation available.
# File activerecord/lib/active_record/model_schema.rb, line 577
def reload_schema_from_cache(recursive = true)
@_returning_columns_for_insert = nil
@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
if recursive
subclasses.each do |descendant|
descendant.send(:reload_schema_from_cache)
end
end
end