method

structure_dump

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_dump(filename)
public

No documentation available.

# File activerecord/lib/active_record/tasks/oracle_database_tasks.rb, line 28
      def structure_dump(filename)
        establish_connection(configuration)
        File.open(filename, "w:utf-8") { |f| f << connection.structure_dump }
      end