MaxP
MaxP
The reason this kind of stuff matters is because if we want to have a simple method to check if the team is authorized we need to write exception handling...
I think this is what the rating cache table is for. You could define associations as follows: ``` has_many :rating_averages, class_name: :RatingCache, foreign_key: :cacheable_id do def with_dimension(dimension) where dimension: dimension...
In your query "dimension is NULL" try this @event.rates(:style)