Rails/ApplicationRecord makes sure models use a common Application Record.
When I am writing a migration change; I want it to remain stand-alone from the rest of the application, so changes to the application do not break any database migrations, nor load any unexpected callbacks or overhead.
This rule should be disabled for files in the db/migrate directory.
Rails/ApplicationRecord makes sure models use a common Application Record.
When I am writing a migration change; I want it to remain stand-alone from the rest of the application, so changes to the application do not break any database migrations, nor load any unexpected callbacks or overhead.
This rule should be disabled for files in the db/migrate directory.