playthecall/playthecall — pull request #4 by thiagogabriel (2012-12-12 17:46:39+00:00)
Title: Prevents one user to change another user's profile

I'm starting with rails, but it would be awesome to help this project.

The system just checked if the user was logged_in, but didn't check if it was the same that was trying to change the profile.
I don't know if I solved the problem on the best way, but I hope it helps.