BAN の実装 (#327) (#342)

#327

#327

#327

#327

Merge remote-tracking branch 'origin/main' into feature/327

#327

Co-authored-by: miteruzo <miteruzo@naver.com>
Reviewed-on: #342
This commit was merged in pull request #342.
This commit is contained in:
2026-05-04 16:22:13 +09:00
parent 52aa1615b6
commit b47cdc7ad7
10 changed files with 286 additions and 76 deletions
+10
View File
@@ -0,0 +1,10 @@
FactoryBot.define do
factory :ip_address do
ip_address { IPAddr.new('203.0.113.10').hton }
banned_at { nil }
trait :banned do
banned_at { Time.current }
end
end
end