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:
6
test/fixtures/parties.yml → test/fixtures/events.yml
vendored
Normal file → Executable file
6
test/fixtures/parties.yml → test/fixtures/events.yml
vendored
Normal file → Executable 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
0
test/fixtures/files/.keep
vendored
Normal file → Executable file
4
test/fixtures/ticket_types.yml
vendored
Normal file → Executable file
4
test/fixtures/ticket_types.yml
vendored
Normal file → Executable 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
0
test/fixtures/tickets.yml
vendored
Normal file → Executable file
0
test/fixtures/users.yml
vendored
Normal file → Executable file
0
test/fixtures/users.yml
vendored
Normal file → Executable file
Reference in New Issue
Block a user