active_scaffold hangs on infinite loop

陌路散爱 提交于 2019-12-11 21:13:43

问题


I'm trying to use active scaffold(3.0.26) in my Rails (3.0, ruby 1.8.7) project. I've added a simple tender to my page:

<%= render :active_scaffold => 'users', :constraints => {:gender => "male"}%>

When I enter that page, application starts an infinite loop. consumes more and more resources and the only solution is to kill -9 the server process. It feels like a basic mistake, but I don't know, what I did wrong. Could you help me?


回答1:


Please don't use Active Scaffold. It's a really old and buggy project. I would recommend the use of rails_admin instead.



来源:https://stackoverflow.com/questions/9676210/active-scaffold-hangs-on-infinite-loop

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!