Add TicketType model with validations and fix dropdown menu
- Create TicketType model with Party association and Ticket relationship - Add comprehensive validations for name, description, pricing, and date ranges - Generate migration for ticket_types table with all required fields - Add Alpine.js import to fix dropdown menu functionality - Update ticket model with validations for qr_code, price, and status
This commit is contained in:
7
test/models/ticket_test.rb
Normal file
7
test/models/ticket_test.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
require "test_helper"
|
||||
|
||||
class TicketTest < ActiveSupport::TestCase
|
||||
# test "the truth" do
|
||||
# assert true
|
||||
# end
|
||||
end
|
||||
Reference in New Issue
Block a user