Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 312 Bytes
module SeedFu
class Railtie < Rails::Railtie
rake_tasks do
load "tasks/seed_fu.rake"
end
initializer 'seed_fu.set_fixture_paths' do
SeedFu.fixture_paths = [
Rails.root.join('db/fixtures').to_s,
Rails.root.join('db/fixtures/' + Rails.env).to_s
]
end
end
end