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)?
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)?