I agree with Fred, but my wild guess is going to be that you’ve got a
view that is geared up for Comments but a controller that’s retrieving
a Rating. Do you need to do something more like
Comment.find(params[:id], :include=>:ratings)?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.