AR create_with

I knew there was AR’s find_or_create_by  method but I didn’t know it had a very useful companion create_with .

This will either find a record  SomeModel.where(foo: "bar")  or create it with SomeModel.create(foo: "bar", some: "stuff") . Very useful.

Classic Programmer Paintings

This is a great idea. 😂

http://classicprogrammerpaintings.tumblr.com/post/142603266504/engineering-manager-handing-out-tasks-to-interns

http://classicprogrammerpaintings.tumblr.com/post/142602959384/sysadmin-grants-sudo-privileges-to-developer-on

http://classicprogrammerpaintings.tumblr.com/post/142586036029/junior-programmer-learns-git-rebase

http://classicprogrammerpaintings.tumblr.com/post/142344840164/developer-looking-at-production-logs-after-a

http://classicprogrammerpaintings.tumblr.com/post/131118350394/army-of-contractors-migrating-to-microservices

TSA’s Random Lane Picker

This is so moronic I almost fell off my chair laughing: it seems like the TSA spent $47,000 on a “random lane picker.” Please, you be the judge whether it was worth it:

Aktivieren Sie JavaScript um das Video zu sehen.
https://www.youtube.com/watch?v=P_KmFJ2gGzw

It needs to be operated manually … with hygienic gloves! 😂