我正在将Rails 3应用程序迁移到Rails 5,我认为Activescaffold存在问题。该应用程序很简单,但是任何按钮(搜索,新建,编辑,分页...)我都按日志显示处理,但未呈现任何内容。我可以提供配置和日志。
这是搜索按钮的开发日志:
在2019-03-21 14:34:21 +0100开始为127.0.0.1获取GET“ / publisher / show_search?adapter = _list_inline_adapter”
由PublisherController#show_search作为JS参数进行处理: {“ adapter” =>“ _ list_inline_adapter”}呈现 /Users/someuuser/.rvm/gems/ruby-2.4.1/gems/active_scaffold-3.5.1/app/views/active_scaffold_overrides/_search.html.erb (4.7ms)呈现 /Users/someuuser/.rvm/gems/ruby-2.4.1/gems/active_scaffold-3.5.1/app/views/active_scaffold_overrides/_messages.html.erb(0.5ms)呈现 /Users/someuuser/.rvm/gems/ruby-2.4.1/gems/active_scaffold-3.5.1/app/views/active_scaffold_overrides/_list_inline_adapter.html.erb (13.7ms)在50ms内完成了200 OK(查看:27.0ms | ActiveRecord: 0.0ms)