
spinlock
u/spinlock


I'm building an app that uses Stripe as a backend for credit card issuing. I started off with an Account model that would keep a local copy of the Stripe Connected Account that I was associating with the User. I used a jsonb field to just store the json blob that Stripe returns via their API.
Then, I need to create a Source (i.e. a bank account I could draw money from on behalf of the user). I did the hackiest thing I could and just added a jsonb "source" field to the Account model. Now I've got 2 json blobs that are keeping a local copy of Objects over at Stripe.
As I build this out, I'm going to need to cache a copy of a Stripe Balance Object maybe keep track of TopUPs, etc...
I was j
I had an LTL shipment to send into Amazon so I went with their partnered carrier option. They connected me to Reddaway and Reddaway fucked me. They blew off the pick-up for the last week and now I'm stuck paying for another month's rent.
Can I just hire my own trucking company to send this shipment in? I'm done with Reddaway because they are absolute morons. But, I don't want to relabel all of the boxes or the pallets. Everything is set to go on my end because I don't suck like Reddaway.
I've got an application with 3 different kinds of users: administrators, representatives and cardholders.
I'm using Pundit to authorize different actions based on the user type but I'm having trouble configuring devise (and devise invitable) to play nice with the different user types.
Here are my current Devise Routes:
#
# Devise Routes
#
devise_for :users, controllers: { invitations: 'invitations/administrators' }
devise_scope :user do
get 'sign_in', to: 'devise/sessions#new'
get 'sign_up', to: 'invitations/administrators#new'
get 'success', to: 'invitations/administrators#success', as: 'invitation_success'
get 'representative_inquiry', to: 'invitations/adm
The CDC has this to say about "tear gas:"
Riot control agents (sometimes referred to as “tear gas”) are chemical compounds that temporarily make people unable to function by causing irritation to the eyes, mouth, throat, lungs, and skin.
Pot smoke makes your eyes red and it makes you cough. Therefore, it's a riot control agent that we should use to subdue the police.
The lyrics for the Star Spangled Banner come from a poem called the "Defence of Fort M'Henry" by Francis Scott Key. It was written during the War of 1812 between the British and United States of America. One tactic used by the British was to entice run-away slaves to fight on their side by promising them their freedom if the British won the war. So, if you were a black man fighting for your freedom in this war, you were fighting against the evil empire that wanted to keep you in chains.
Here's the stanza I think is most relevant to this point of view:
No refuge could save the hireling and slave
From the terror of flight, or the gloom of the grave:
And the star-spangled ban



