阅读背景:

javascript中的Ruby插值在2个实例中的1个中不起作用

来源:互联网 

I am trying to interpolate some ruby code within a tag at the bottom of my html.erb file. For some reason, the first example (ending in company_email), works just like a charm while the second, for some unknown reason, returns the string {@custom_landing_page_company.name}. Can anyone explain why the same method of interpolation works in one case and not the other? Thank you.I am trying to interpolate some ruby code withi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: