Parent

Methods

Merb::Orms::DataMapper::Finalize

Public Class Methods

run() click to toggle source
# File lib/merb_datamapper.rb, line 67
def self.run
  if DataMapper.respond_to?(:finalize)
    DataMapper.finalize
  else
    DataMapper::Model.descendants.each do |model|
      model.relationships.each_value { |r| r.child_key }
    end
  end
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.