Rails image_tag ('', ....) 的问题

jun1st · March 21, 2014 · 1883 hits

今天碰到了这个问题

image_tag('')

传入一个空 path,在 production 环境下会报错"isn't compiled"

这个问题在 github rails 上也存在三年多了,貌似只在 4.0 中被修复了 https://github.com/rails/rails/issues/3080

No Reply at the moment.
You need to Sign in before reply, if you don't have an account, please Sign up first.