Sha256: 85342ca7bbfbb2963620e8fcd07e42c0ed70a852d5c57da7706d3136f1c68103
Contents?: true
Size: 311 Bytes
Versions: 22
Compression:
Stored size: 311 Bytes
Contents
require 'active_record/fixtures' desc "copy fixtures for enju_subject" task :enju_subject => :environment do path = File.expand_path(File.dirname(__FILE__)) + '/../../db/fixtures/' Dir.glob(path + '*.yml').each do |file| ActiveRecord::Fixtures.create_fixtures(path, File.basename(file, '.*')) end end
Version data entries
22 entries across 22 versions & 1 rubygems