Search code examples
ruby-on-railsruby-on-rails-3infinite-loopactivescaffold

active_scaffold hangs on infinite loop


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?


Solution

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