Active Storage is awesome. For all the times I’ve seen it being used, it was for direct file uploads where the user clicks a file field, a window pops up, and a file is selected–nothing new. Not long...
The most common way to run tests in a project is to run rspec in the terminal. This runs tests for all examples in the project. Sometimes, this is not what we want. During development, we don’t want...
Vim’s learning curve may be a myth! For some years now I’ve been putting off learning Vim. I bet a lot of people will understand why. The learning curve is steep but apparently this sentiment is a my...
Authentication is verifying that somebody is who they claim to be. Using Auth0, a third-party service, let’s implement an identification process for users of our application. Auth0 provides a univers...
I’ve seen a lot of Rails developers abuse Active Support’s present? method in views and controllers. Most of the times what they want to check is that an object is not nil. Rails’ present? checks if a...
Assuming you have Jekyll installed already, generate your blog with jekyll new name_of_your_blog && cd name_of_your_blog. Then run git init. Create a unique name to host our blog on Heroku (...