News for hackers. Stuff that matters.
Re:10 Most Common Rails Mistakes by awj on Tuesday June 03, 2014 @02:37PM (#7841987)
I'm not sure I understand your point. If your controller logic ensures that users will always be logged in, why would you need to test for the presence of current_user?
Re:10 Most Common Rails Mistakes by 3pt14159 on Tuesday June 03, 2014 @04:23PM (#7842490)
Sometimes we want to just say

    current_user.username