method

load_from

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: SchemaCache
load_from(filename) 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/connection_adapters/schema_cache.rb, line 8
      def self.load_from(filename)
        return unless File.file?(filename)

        read(filename) do |file|
          filename.include?(".dump") ? Marshal.load(file) : YAML.load(file)
        end
      end
Register or log in to add new notes.