A simpler way to express this is `before { session[:user_id] == user.id }`