First I had it with find but since I have 0 as params[:latest_comment_id] when there are no comment, this find will produce an exception while where will only return empty array...