DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Test
// test
#load all factories...
load_path = File.dirname(__FILE__) + "/factories/"
Dir.new(load_path).each do |f|
full_path = load_path + f
unless File.directory?(full_path)
load full_path
end
end





