So I was trying to update and refactor a legacy code that I was working on which used CakePHP 2. I also have to update the CakePHP version since it was really outdated. The first approach I took was to…
In this article, I’m going to show you how to install Ruby with RVM on a macOS machine. You’ll also learn how to install a specific version. Install GPG Install RVM RVM stands for Ruby Version Manager. It allows you…
Problem: Mock If you have tried Mocking models, you might have encountered some problems especially for models that have Associations. One of those problem is, when you mock a model, it assigns an alias. For example: model User will become Mock_User_b13d6ac9. That will cause…
How to set a different Syntax for same file type that belongs to different directory using Sublime Text? There are times we would like to set a specific syntax for files inside a specific directory in Sublime Text. For example,…