refactor(events): replace parties concept with events throughout the application

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

This commit refactors the entire application to replace the 'parties' concept with 'events'. All controllers, models, views, and related files have been updated to reflect this change. The parties table has been replaced with an events table, and all related functionality has been updated accordingly.
This commit is contained in:
Kevin BATAILLE
2025-08-28 13:20:51 +02:00
parent 2f80fe8321
commit 30f3ecc6ad
218 changed files with 864 additions and 787 deletions

6
test/fixtures/parties.yml → test/fixtures/events.yml vendored Normal file → Executable file
View File

@@ -1,9 +1,9 @@
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
name: Summer Party
slug: summer-party
description: A great summer party with music and drinks
name: Summer Event
slug: summer-event
description: A great summer event with music and drinks
state: published
venue_name: Beach Club
venue_address: 123 Ocean Drive

0
test/fixtures/files/.keep vendored Normal file → Executable file
View File

4
test/fixtures/ticket_types.yml vendored Normal file → Executable file
View File

@@ -7,7 +7,7 @@ one:
quantity: 100
sale_start_at: <%= 1.day.ago %>
sale_end_at: <%= 1.day.from_now %>
party: one
event: one
two:
name: VIP Access
@@ -16,4 +16,4 @@ two:
quantity: 50
sale_start_at: <%= 1.day.ago %>
sale_end_at: <%= 1.day.from_now %>
party: two
event: two

0
test/fixtures/tickets.yml vendored Normal file → Executable file
View File

0
test/fixtures/users.yml vendored Normal file → Executable file
View File