0
我使用https://github.com/warhammerkid/rails3-amf,並按如下無法實現兩級協會實施2級協會:問題用Rails3中,AMF
@posts = Post.where(:category_id => params[:id]).includes(:author => :phones)
respond_with(@posts) do |format|
format.amf { render :amf => @posts.to_amf(:include => ????) }
end
任何建議嗎?