Sha256: 145a3ecf13abe75951ca7e580b328d2c68e1c7afb23e02bb588dfa95ce3a0791
Contents?: true
Size: 601 Bytes
Versions: 11
Compression:
Stored size: 601 Bytes
Contents
require "active_record/fixtures" namespace :seed do desc "seed the database with fixtures from spec/fixtures" task with_social_networking_fixtures: :environment do if Rails.env.production? puts "ERROR: You should not seed production database with fixtures." else path = File.join(File.dirname(__FILE__), "..", "..", "spec", "fixtures") ActiveRecord::FixtureSet.create_fixtures path, [ "social_networking/goals", :"social_networking/profiles", :"social_networking/profile_questions", :"social_networking/profile_answers" ] end end end
Version data entries
11 entries across 11 versions & 1 rubygems