Sha256: f8cdb42d316d186e6abe1015ea256d12f2a2539530c5039cc244dadb35e50571

Contents?: true

Size: 335 Bytes

Versions: 21

Compression:

Stored size: 335 Bytes

Contents

require 'active_record/fixtures'
desc "create initial records for enju_biblio"
namespace :enju_biblio do
  task :setup => :environment do
    Dir.glob(Rails.root.to_s + '/db/fixtures/enju_biblio/*.yml').each do |file|
      ActiveRecord::Fixtures.create_fixtures('db/fixtures/enju_biblio', File.basename(file, '.*'))
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
enju_biblio-0.1.0.pre48 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre47 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre46 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre45 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre44 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre43 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre42 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre41 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre40 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre39 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre38 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre37 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre36 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre35 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre34 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre33 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre32 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre31 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre30 lib/tasks/enju_biblio_tasks.rake
enju_biblio-0.1.0.pre29 lib/tasks/enju_biblio_tasks.rake