Project

General

Profile

Actions

Feature #6852

closed

Rake log task to log ActiveRecord changes

Added by Martin Ducar almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

When testing idempotency of seed files in automated way, we have found out that best solution would be to have db:seed run twice second time with log of ActiveRecord sql commands. That way we can filter is second run tries to do another updates, inserts, deletes,.... This might be use-full also for debugging purposes.

Actions

Also available in: Atom PDF