-
The application has a Query model that allows users to create and upload a query with multiple options.
-
The User and Category models are also present, a query belongs to a user and a category.
-
When a user views a query's show page, they have the option to add the query to their daily decision list.
-
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.
-
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.
-
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.
-
The daily decisions added to daily decision list stay and the rest of them get destroyed after 7 days.
-
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.
-
Notifications
You must be signed in to change notification settings - Fork 1
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.
HelloOjasMutreja/Query-Public-Model
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
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.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published