-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get average of dimensions rating ? #137
Comments
i have found a temporary way around this: in your car.rb file place the below method:
in your views/cars/index.html place the below code
in your views/cars/show.html.erb
|
I think this is what the rating cache table is for. You could define associations as follows:
|
Hi @mmplisskin , are you having records in the tables I'm also can't have records of my rater (user is) at table |
Can you explain me where do I insert this code? |
code above shows the stars with rating, but i want to get the average of this tree displayed?
The text was updated successfully, but these errors were encountered: