It’s been hours. You’ve been Googling and Googling, trying to figure out the best way to implement that slick JavaScript animation. Turns out, what seemed so simple and commonplace is not so simple after all. But what is this? A blue link appears in your Google results — one you…


Photo by James Harrison on Unsplash

Welcome to Part VI of my series on Git for beginners! In this post I’m going to show you the fundamentals of connecting a local repository to a remote one and some of the most common commands you can use to interact with a remote. …


Photo by Yancy Min on Unsplash

If you’ve been following this series up till now, you’ve learnt quite a bit of the basic functionality of Git. However, you still haven’t encountered its most compelling use case: fixing things when they go wrong. Things can go wrong in a number of ways during software development — and…


Welcome to Part IV of my introductory series on Git! In this post, I’ll walk you through creating a new branch, making commits on that branch, and merging the branch back into the base. So far in this series, I’ve given you an overview of how Git works, shown you…


In this post, I’ll walk you through committing your first files to the Git repository you created in Part II of this series. (If you need an overview of what Git is or how it works, please read Part I.) …


In Part I of this series, I gave an overview of what Git is and how it fundamentally works. In this post, I’ll show you how to initialise a Git repository on your development machine. I won’t give a full recap of Git concepts in this post, so if that’s…


Anyone who’s spoken to me about the subject knows my advice to people who want to start learning to code: before you do anything else, start with Linux/UNIX command line* fundamentals**, and then learn some basic Git. Git is a complex and powerful tool for managing changes to a code…


This was a problem that plagued me for over an hour, and none of the answers I found on Google helped. I have a Rails 6 application with a model that has one ActiveStorage attachment. I needed a scope for all models that do not have a file attached. …


We had a little bit of a challenge at InView today: how to use nested attributes in forms without necessarily creating a new record in the database for every form submission. The solution turned out to be quite simple.

At InView, we have two (relevant) models: Report and Category. A…


Today I ran into an interesting problem. I needed to scope a Rails model by checking whether it had a child with a certain attribute. The solution was simple but a little hard to find online, so I thought I’d share.

I started out with two models: Applicant and Application

Dana Scheider

Senior Engineer at Envato

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store