ruby-on-rails-3.1 – 为什么在Rails中不推荐使用auto_link?

我意识到它已被拉入一个单独的宝石,但是是什么原因?这只是一个精简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!

相关文章

validates:conclusion,:presence=>true,:inclusion=>{...
一、redis集群搭建redis3.0以前,提供了Sentinel工具来监控各...
分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣...
上一篇博文 ruby传参之引用类型 里边定义了一个方法名 mo...
一编程与编程语言 什么是编程语言? 能够被计算机所识别的表...
Ruby类和对象Ruby是一种完美的面向对象编程语言。面向对象编...