Add record to track overridden limits

Before, we were relying on just changing the cards_count in account, but this
could create problems where the system to calculate the next card number fails due
to the unique constraint.
This commit is contained in:
Jorge Manrubia
2025-12-15 14:49:47 +01:00
parent 725e850802
commit 3ef5e4eeef
19 changed files with 196 additions and 80 deletions
@@ -1,10 +1,6 @@
require "test_helper"
class Admin::StatsControllerTest < ActionDispatch::IntegrationTest
def saas
Fizzy::Saas::Engine.routes.url_helpers
end
test "staff can access stats" do
sign_in_as :david