Last active
February 3, 2016 07:35
-
-
Save JunKikuchi/5c343cd1fe1115e7de93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class FooWorker | |
include Sidekiq::Worker | |
def perform(user_id) | |
user = User.find(user_id) # user_id が見つからないというエラーが、発生したりしなかったり | |
...省略... | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment