database-cloner-rails 1.1.1
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.
Gemfile:
=
install:
=
Runtime Dependencies (1):
rails
>= 5.0