我意识到它已被拉入一个单独的宝石,但是是什么原因?这只是一个精简Rails的问题,还是有一些原因我应该厌倦了auto_link?
(宝石说,这意味着“弥合移民的差距”,这对我来说,如果我将rails_autolink引入到一个新项目中,我一定是在做错事,不是吗?)
谢谢,
解决方法
从auto_link删除的提交中,Aaron Patterson(tenderlove)在评论中解释道:
Unfortunately this method is extremely difficult to secure correctly. Ensuring this method is bullet-proof takes a faster release cycle than we have for rails. That’s why we moved it to a gem. Please use the gem if you need the functionality! 原文链接:/ruby/273514.html