Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Fred Kelly's Profile

GitHub User: fredkelly

Site: http://fredkelly.net

Comments by Fred Kelly

Avatar

I think it may be that it's more efficient to pass simple types to delayed methods as they get serialized and stored in the jobs table?

Avatar

Is there a reason for not passing the whole user to the delayed method? i.e.
User.share_review(current_user, ...) that way it wouldn't be neccasary to call User.find again with the delayed method?