Skip to content

Instantly share code, notes, and snippets.

View andrew-a-dev's full-sized avatar

Andrew Amato andrew-a-dev

  • Vox Media
  • Remote
View GitHub Profile
> def check_aspect_ratio(hymnal_ad_id)
> a = HymnalAd.find(hymnal_ad_id)
> [Ad.find(a.cdn_identifier).class.desktop_aspect_ratio,
> a.desktop_aspect_ratio]
> end
=> :check_aspect_ratio
> check_aspect_ratio 238
=> [1.6898954703832754, 1.6898954703832754]

Keybase proof

I hereby claim:

  • I am andrew-a-dev on github.
  • I am andrew_a_dev (https://keybase.io/andrew_a_dev) on keybase.
  • I have a public key whose fingerprint is 870C 5C87 EA16 3F02 4008 5446 D196 DEAC 4953 221F

To claim this, I am signing this object: