For my first Rails project, I ported the same domain I used for my Sinatra project – a CMS that, upon user signup and login, either conventional or via GitHub OAuth, allows a user to:
Of this project, the following was perhaps the most difficult block of code to write, because when a user sips a new cup, four different models with complex associations are involved, so making sure existing rows in the database aren’t duplicated or overwritten is a bit complicated.
It really happened. I started with a stark naked Atom window and, bit by bit, built what I feel confident calling a working program.
Not all heroes wear capes. Not unlike how our protectors – parents, government branches/departments, teachers, dogs – directly and indirectly shield us from threats we aren’t even necessarily aware of, software engineers share a similar duty.