today_ai_weather/test
songtianlun e5c1461e8a feat: add voting functionality for votable entities
- Create VotesController to manage voting actions
- Implement Vote model with polymorphic associations
- Add vote buttons to the city and weather art views
- Integrate vote counting and user vote tracking
- Define routes for the votes resource

This commit sets up a voting mechanism for cities and weather arts, allowing users to upvote or downvote. It includes seamless integration of user sessions to track individual votes, ensuring votes can be modified or deleted based on user interaction.
2025-02-07 13:10:53 +08:00
..
controllers feat: add sitemap functionality 2025-01-26 00:07:44 +08:00
fixtures feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
helpers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
integration init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
jobs feat: add batch weather art generation jobs 2025-01-22 16:50:00 +08:00
mailers init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
models feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
system init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
application_system_test_case.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
test_helper.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00