database-cloner-rails provides two rake tasks for moving database records between Rails environments. `rake database:download` dumps all ActiveRecord model records to plain Ruby files (Model.create(...) statements). `rake database:upload` replays those files to restore records in the target database. Useful for seeding a staging environment from production data, creating snapshots before destructive migrations, or sharing realistic test data across a team. Supports optional MODELS filtering: `rake database:download MODELS=users,posts` to dump only specific tables. The dump directory is created automatically.

Required Ruby Version

>= 2.7

Authors

Abhishek Sharma

Versions

  1. 1.1.1 May 31, 2026 (7.5 KB)
  2. 1.1.0 May 31, 2026 (6.5 KB)
  3. 1.0.1 May 31, 2026 (6.5 KB)
  4. 1.0 December 11, 2014 (5 KB)

Pushed by

SHA 256 checksum