method

structure_load

rails latest stable - Class: ActiveRecord::Tasks::OracleDatabaseTasks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

structure_load(filename)
public

No documentation available.

# File activerecord/lib/active_record/tasks/oracle_database_tasks.rb, line 33
      def structure_load(filename)
        establish_connection(configuration)
        IO.read(filename).split(";\n\n").each { |ddl| connection.execute(ddl) }
      end