是否不可能在friendly_id 4.0稳定的情况下执行以下操作?
Post.find('slug-1', 'slug-2')
我找不到这方面的任何文件。
发布于 2014-09-25 10:15:15
没有办法做到这一点,因为FriendlyId在内部使用where(...).first查询。
where(...).first
https://stackoverflow.com/questions/25775752
相似问题