lib/db/sync.rb in db-sync-0.0.9 vs lib/db/sync.rb in db-sync-0.0.10

- old
+ new

@@ -94,10 +94,10 @@ end end def sync_down # TODO: change to row by row saving - Dir.mkdir(sync_dir) + Dir.mkdir(sync_dir) unless Dir.exist?(sync_dir) working_tables.each do |table| File.open(table_filename(table), 'w') do |f| current_records = table_model_records(table) f << current_records.to_yaml end