User Tools

Site Tools


Silly rails mistakes


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

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/ on line 327