您是否在开发中使用 Ember CLI?若要测试服务器端 ERB 模板的更改,您需要绕过它并直接访问 Rails 服务器。
NO_EMBER_CLI=1 rails s
然后访问 localhost:3000
localhost:3000