Posts by John Carneiro • 1 point
2 posts
-
0
votes1
answer56
viewsA: Rails Cancancan - Doubt about table of Roles
Felipe, I don’t know if I got it right, but I think I’d do something like this. User Role Project has_many :project_users has_many :users, thought: :project_users ProjectUser belongs_to :project…
-
0
votes2
answers52
viewsA: How to average the last table in Rails
Use the "times" to make a loop of the times you have to repeat the , the difference being between 8 and the size of the notes. <% discipline.evaluations.each do |evaluation| %>…