Home>
I want to achieve
Creating a todo list app on rails
I want to allow users to create a todo list and output what they have learned from that list once the list is complete
The model is a user model, a list model, and an output model.
Users and lists are one-to-many
List and output are 1: 1
One-to-many users and outputs
The routing in this case is
abridgement
resources: tasks do
resource: output
end
Is that okay?
According to other articles, when dealing with resources, I am at a loss because I wrote that I will use it when dealing with one (example: profile) for that user.
I'm sorry if it's a rudimentary question, I'd appreciate it if anyone could tell me
-
Answer # 1
Related articles
- ruby - about routing using rails collection
- ruby on rails - rails render: about the matter that the url after new is different
- ruby - [rails] about nameerror
- ruby on rails - about rails create action
- ruby on rails - about saving comments
- ruby on rails - about the description in applicationjs
- ruby on rails - about deploying apps using s3 function
- ruby - [rails] about the error that occurs when deleting likes (routing error)
- ruby on rails - about image distribution on heroku and s3
- ruby on rails - [rails] about the problem that screen transition is not possible (error does not occur)
- ruby on rails - about multi-word search to multiple columns using ransack
- ruby on rails - about rails composite indexes
- ruby on rails - about conditional branching using elsif
- ruby on rails - about primary key/natural key/surrogate key in db design
- ruby on rails - about nomethoderror in skilscontroller # create
- ruby - about embedding rails videos
- ruby on rails - about the matter that does not transition to the detail page
- ruby - about the delete function in rails
- ruby on rails 6 - rails tutorial chapter 14 about follow, unfollow, following? methods
Related questions
- ruby - about rails controller new action
- ruby - data including rails hyphen becomes # and is not displayed
- ruby - about viewport introduction
- ruby - n + 1 problem in api mode
- ruby - about customizing pagination with rails6 kaminari
- ruby - link_to method:: post doesn't work
- ruby - rails6 active_strage cannot be installed
- ruby - unable to create table with foreign key
- ruby - how to pass the "password" on the wizard screen
Unfortunately, routing is not determined by model and association alone.
Even if the model association has already been settled, the routing can change in any way depending on what kind of system you want to create, so I felt that no one could answer.
Therefore, when asked if there is no problem, it seems that there is no choice but to answer that there is no problem ....