阅读背景:

ActiveRecord为has_and_belongs_to_many关系生成昂贵的描述查询

来源:互联网 

We have a Rails3 app we've just started development on. We use a has_and_belongs_to_many relation between two models. Every time we use one of these models, ActiveRecord executes a DESCRIBE-query on the join-table, e.g.:We have a Rails3 app we've just started develop




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

分享到: