dominicgoulet/socializer — pull request #158 by MartinGoulet (2014-01-31 22:54:50+00:00)
Title: Change find by find_by_id in application_controller

An error occurs when you reset database and you didn't logoff. User id is not remove from cookie and we try to find a Person with id who doesn't exit. find_by_id return nil if not found.