Sha256: 2ae223f329018fee0ee768b19df239ead8caa788f4617a2864ed7237db1e2286
Contents?: true
Size: 323 Bytes
Versions: 15
Compression:
Stored size: 323 Bytes
Contents
require 'active_record/fixtures' desc "create initial records for enju_nii" namespace :enju_nii do task :setup => :environment do Dir.glob(Rails.root.to_s + '/db/fixtures/enju_nii/*.yml').each do |file| ActiveRecord::Fixtures.create_fixtures('db/fixtures/enju_nii', File.basename(file, '.*')) end end end
Version data entries
15 entries across 15 versions & 1 rubygems