colleen
Joined 3/12/2020
colleen said almost 4 years ago on ActiveJob :
Don't we need a `deliver_now` in our job when we all the contact mailer?

def perform(from,subject,message)
      ContactMailer.send_contact(from,subject,message).deliver_now
end


colleen said over 3 years ago on Testing Stripe Payments :
Line `@payment = JSON.parse(json,object_class: OpenStruct)` returns this error: `*** TypeError Exception: no implicit conversion of Hash into String`
I copied the webhooks json directly from Stripe, so my format is 
json =
      {
        "data": {
          "object": {
            "id": "blahblah",
            "object": "checkout.session",
...
Update: If I wrap the entire json block in '' to create a string it _seems_ to work. 

colleen said over 2 years ago on StimulusJS, Active Storage and DropzoneJS :
  -> The resizeWidth dropzone option doesn't work b/c the autoqueue:false bypasses the calling of transformFile in the dropzone source. Trying to figure out right now where to call transformFile. There are also several "solutions" on SO. 

colleen said over 2 years ago on StimulusJS, Active Storage and DropzoneJS :
  Nope, unfortunately not. I tried to hook into it and call it from my Stimulus controller, but of course the `this` scope got all screwed up. Let me know if you use it! I'm looking to use another library or do it manually.