Jean Carlo

Joined

5,360 Experience
53 Lessons Completed
0 Questions Solved

Activity

I make a change to use Sidekiq retry

class SendWebhookJob < ApplicationJob
WebhookNotFound = Class.new(StandardError)

retry_on WebhookNotFound
queue_as :default

MAX_RETRIES = 10

def perform(webhook_url, data)
puts "#{Time.zone.now} : Sending data to #{webhook_url}"

response = HTTP.post(webhook_url, json: data)
successful = response.code == 200 || raise(WebhookNotFound)

end
end

I still have the doubt

Posted in Episode on GraphQL

+1

Posted in Inbound SMS in Rails with Twilio Discussion

Where are you Stuck?

Posted in Inbound SMS in Rails with Twilio Discussion

Yes totally, I did it!

Hi Chris great job! What is the difference of the integration test with the controller test

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2023 GoRails, LLC. All rights reserved.