Module: Undestroy::Binding

Defined in:
lib/undestroy/binding.rb

Defined Under Namespace

Classes: ActiveRecord

Class Method Summary collapse

Class Method Details

.bindObject



4
5
6
7
# File 'lib/undestroy/binding.rb', line 4

def self.bind
  Undestroy::Binding::ActiveRecord.add(::ActiveRecord::Base)
  Undestroy::Binding::ActiveRecord::MigrationStatement.add(::ActiveRecord::Migration)
end