Flowdock
method

load_schema

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ClassMethods
load_schema() 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 558
      def load_schema # :nodoc:
        return if schema_loaded?
        @load_schema_monitor.synchronize do
          return if @columns_hash

          load_schema!

          @schema_loaded = true
        rescue
          reload_schema_from_cache # If the schema loading failed half way through, we must reset the state.
          raise
        end
      end
Register or log in to add new notes.