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

Version Path
enju_nii-0.2.1 lib/tasks/enju_nii_tasks.rake
enju_nii-0.2.0 lib/tasks/enju_nii_tasks.rake
enju_nii-0.2.0.beta.3 lib/tasks/enju_nii_tasks.rake
enju_nii-0.2.0.beta.2 lib/tasks/enju_nii_tasks.rake
enju_nii-0.2.0.beta.1 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.1 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre14 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre13 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre12 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre11 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre10 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre9 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre8 lib/tasks/enju_nii_tasks.rake
enju_nii-0.1.0.pre7 lib/tasks/enju_nii_tasks.rake