阅读背景:

Rails 3.1:如何阻止视图显示数组以及两个相关模型的数据?

来源:互联网 

This has been driving me crazy. I've done lots of google and stackoverflow searches but can't find a solution. I have 2 models: FoodMenu and Product. FoodMenu has_many :products and Product belongs_to :food_menu. The products table has a "food_menu_id" column and I've also done add_index :products, :food_menu_id.This has been driving me crazy. I've done lots




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: