User Tools

Site Tools


coding:railsmistakes

Silly rails mistakes

Controller

Stack level too deep because I defined to render a view which has the same name as the controller

  def users_index
    @users = User.all
    render users_index
  end

This ends in an ugly stack level too deep error


Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 201 bytes) in /home_p2/d/o/domidesign.ch/htdocs/domicode.com/wiki/lib/plugins/authplain/auth.php on line 327