Apr 14, 2008
Generic-user-small Justin Ng 1 post

Topic: Developing Facebook Platform Applications with Rails / Why current_user in controller?

Great book, but I had a question about the current_user stuff in Chapter 4.

My first thought is that the current user should be accessed via User.current instead of current_user in the application controller. Is there something about how Facebooker works that this refactoring will not help us?

1 post