ruby-on-rails – rails3中的default_scope
发布时间:2020-12-16 19:51:22 所属栏目:百科 来源:网络整理
导读:我知道named_scope已经更改为rails 3中的范围. 如何在rails 3中执行default_scope,我有一个很好的谷歌,但没有发现默认的范围. 解决方法 default_scope在Rails 3.0中可用,请参阅以下内容 Lighthouse Ticket引用了Rails 3.0中的default_scope Github Rails 3.0
我知道named_scope已经更改为rails 3中的范围.
如何在rails 3中执行default_scope,我有一个很好的谷歌,但没有发现默认的范围. 解决方法
default_scope在Rails 3.0中可用,请参阅以下内容
> Lighthouse Ticket引用了Rails 3.0中的default_scope (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |