💎
Keep calm and code
Software Developer
-
Kuper(ex SberMarket)
- https://www.linkedin.com/in/vladislav-akimenko/
Pinned Loading
-
Решения задачи про гири. Условие: Су...
Решения задачи про гири. Условие: Сумма весов гирь с левой стороны никогда не будет равна сумме весов гирь с правой 1class WeightTask
2def call
3max = 32
45(1..max-6).each do |a|
-
Simple new emails parcer with IMAP f...
Simple new emails parcer with IMAP for rails with gem 'mail' 1# frozen_string_literal: true
23class Mails::ReceiveRecent
4def call
5client = Mails::SetClient.new.call
-
paypal_mocks_for_rspec.rb
paypal_mocks_for_rspec.rb 1before do
2paypal_payout_object = double
3payout_batch = double
4allow(payout_batch).to receive_message_chain(:batch_header, :payout_batch_id).and_return(payout_batch_id)
5allow(payout_batch).to receive_message_chain(:batch_header, :batch_status).and_return(payout_batch_status)
-
load_agents_clients.rb
load_agents_clients.rb 1ApplicationRecord.connection.execute('SELECT clients.*,
2(CASE WHEN agents_clients.id is NULL then 0 else 1 END)
3AS joined FROM clients
4LEFT JOIN agents_clients
5on clients.id = agents_clients.client_id
-
-
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.