Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Fred Kelly's Profile

GitHub User: fredkelly


Comments by Fred Kelly


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?


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?