08 Feb, 2012

1 commit

  •   * In app/controller/admin/users_controller.rb uses a User.find() method call that uses a :include argument to load the needed Persons with a single sql instead of one sql consult per user.
      * Only call User.find() if the format is csv or xml, to avoid making the
    huge sql consult every time the user loads the page.
    
      * With this change, the downloading time of a users list on csv format
    decreased 63%, while on xml format decreased 30%.
      * I've got no guarantee it's enough time to avoid timeout in production
    server, though.
      * Not tested on debian.
    
    (ActionItem2241)
    Larissa Reis
     

06 Feb, 2012

4 commits


27 Jan, 2012

3 commits


26 Jan, 2012

15 commits


24 Jan, 2012

2 commits


23 Jan, 2012

4 commits


19 Jan, 2012

4 commits


18 Jan, 2012

2 commits


17 Jan, 2012

2 commits


16 Jan, 2012

2 commits


11 Jan, 2012

1 commit