lib/record_loader/base.rb
#
# Opens a transaction and creates or updates each of the records in the yml files
# via the #create_or_update! method
#
# @return [Void]
Opens a transaction and creates or updates each of the records in the yml files
via the #create_or_update. method
Opens a transaction and creates or updates each of the records in the yml files via the #create_or_update . method
def create!
      adapter.transaction do
        @config.each do |key, config|
          create_or_update!(key, config)
        end
      end
    end
def create! adapter . transaction do @config . each do | key , config | create_or_update! ( key , config ) end end end
Opens a transaction and creates or updates each of the records in the yml files
via the #create_or_update!
Opens a transaction and creates or updates each of the records in the yml files via the #create_or_update!
None
Void