https://github.com/helloojasmutreja/query-public-model
Streamline your decision-making process with our innovative app. Quickly make informed choices with input from others. Simplify your mind and save time with our cutting-edge application. You'll wonder how you ever managed without it.
https://github.com/helloojasmutreja/query-public-model
Last synced: 6 months ago
JSON representation
Streamline your decision-making process with our innovative app. Quickly make informed choices with input from others. Simplify your mind and save time with our cutting-edge application. You'll wonder how you ever managed without it.
- Host: GitHub
- URL: https://github.com/helloojasmutreja/query-public-model
- Owner: HelloOjasMutreja
- Created: 2023-01-22T12:14:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-29T22:06:04.000Z (over 2 years ago)
- Last Synced: 2023-03-11T18:23:33.814Z (about 2 years ago)
- Language: Ruby
- Homepage:
- Size: 104 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
1. The application has a **Query** model that allows users to create and upload a query with multiple options.
2. The User and Category models are also present, a query belongs to a user and a category.
3. When a user views a query's show page, they have the option to add the query to their daily decision list.
4. The application has a DailyDecision model that sets a query as a daily decision when a user clicks the "Add to Daily Decisions" button on the query's show page.
5. The DailyDecisionList model is created for every user after they sign up, it has all the queries that are set as daily decisions by the user.
6. The daily decision list page, which is accessible via a link on the navigation bar, allows the user to view their daily decision list, edit which queries remain in the list, and add/remove queries.
7. The daily decisions added to daily decision list stay and the rest of them get destroyed after 7 days.
8. The application uses a combination of Rails scaffolding and custom models and controllers to handle the functionality you described. When a user wants to add a query to their daily decision list, the application creates a new DailyDecision record with the user_id and query_id it also renders the daily decision list page where user can see the list and can update or delete the queries that he added.