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:
23
test/fixtures/events.yml
vendored
Executable file
23
test/fixtures/events.yml
vendored
Executable file
@@ -0,0 +1,23 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
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
|
||||
latitude: 40.7128
|
||||
longitude: -74.0060
|
||||
user: one
|
||||
|
||||
two:
|
||||
name: Winter Gala
|
||||
slug: winter-gala
|
||||
description: An elegant winter gala for the holidays
|
||||
state: draft
|
||||
venue_name: Grand Hotel
|
||||
venue_address: 456 Park Avenue
|
||||
latitude: 40.7589
|
||||
longitude: -73.9851
|
||||
user: two
|
||||
Reference in New Issue
Block a user