For years and years, I've been writing. def current_user @current_user ||= ( session[:user_id] && User.find_by_id(session[:user_id])) end ...
Link: pragdave.pragprog.com
I spent this afternoon reorganizing (ok, just organizing) my files. In the process, I came across some of the notes I made in Snowbird back in 2001. That was when 17 mawgs[1] who cared about projects and software got together to discuss what were then called Lightweight Methodologies....