Beauty?
I'm trying to build an application in Rails. I have a feature where users report the runtime related to a category . Well, I need to add up the total time in the runtime column to be able to show to a particular user: "You've already performed a total of X hours of activity" .
Another point is that I made the relationship with the Category model with the category_id attribute and everything is working fine, but I'd like to make it appear on the form through a list of categories (by name) and not have the user type the category id to make the relationship.