I'm a starting with Rails and I'm building an app that stores Films info, so a user can watch a movie and then give it a grade on the web application.
I have coded up to the Film model, controller and views. Now, I have two questions:
Yes, on the model and controller for Grades. That'd be the most feasible way to keep track of who's graded what. It's really up to you which you make first, but I'd start with Users, since Grades would depend on both Films and Users.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.