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

Version Path
enju_subject-0.1.0.pre8 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre7 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre6 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre5 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre4 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre3 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre2 lib/tasks/enju_subject_tasks.rake
enju_subject-0.1.0.pre lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.18 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.17 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.16 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.15 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.14 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.13 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.12 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.10 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.9 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.8 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.7 lib/tasks/enju_subject_tasks.rake
enju_subject-0.0.6 lib/tasks/enju_subject_tasks.rake