today_ai_weather/db
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
..
migrate feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
seeds style: format priority values for consistency 2025-01-24 09:09:57 +08:00
cable_schema.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
cache_schema.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
queue_schema.rb init with rails8 + active-admin 2025-01-19 01:13:59 +08:00
schema.rb feat: add voting functionality for votable entities 2025-02-07 13:10:53 +08:00
seeds.rb refactor: adjust ordering of weather arts 2025-02-03 11:15:31 +08:00