Fixed specs not running because rails 4.
Added write_seed method for ActiveRecord collections to write out entire collections to a fixture file.