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:
+3
-3
@@ -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
|
||||
+2
-2
@@ -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
|
||||
Reference in New Issue
Block a user