Rails 有什么工具可以查看 form_for 生成对应的 html

zealinux · November 28, 2012 · Last by Roam replied at November 28, 2012 · 1810 hits

rails 中 form_for 相当灵活, 重启 rails 服务器后都是 reload 浏览器然后用 firebug 查看对应的 html 片段。

这样很费时间和低效,是不是有好的工具可以做这样的事情啊。

谢谢

也想知道,console 不知道能不能,刚刚试了下,好像不行,还是我方法错了?

是想在终端调用 helper 吗?

这个帖子里有方法 ruby-china.org/topics/3506

#3 楼 @zhangyuan 就是这个,非常感谢了

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