really I suppose what I want is aspect oriented stuff. I have this bit of code: ACTIVITY = %( if( session[:user].id == l.user_id ) l.activity_occured ) that I'm going to go ahead and eval() various places. eval seems dirty though. :) Is there a better way? If I have to actually pass the variables to a method, then I'm not actually saving any time.