代码片段-readonlyrecord error and paginate joins where
阅读更多funs短文@funs=Fun.where("taggings.tag_id=#{params[:tag_id].to_i}").joins("rightjointaggingsonfuns.id=taggable_id").paginate(:page=>params[:page],:per_page=>10,:include=>:user,:readonly=>false).order