What is RSpec? RSpec is a domain-specific language testing tool written in Ruby to test Ruby code. It is a behavior-driven development framework, used for the most part in Rails applications, althoug...
Latest Ruby & Rails Articles
Essentially three things happen when you instantiate a class in Ruby: 1. Space is allocated for the new object of the class to be created. 2. An initializer is called to set up intsance variables,...
Through my Ruby and Rails journey, I’ve discovered a few excellent Ruby books that I’d like to share with fellow Rubyists. The authors of these books are experts in their fields. These books are my re...
Rails’ ActionCable is excellent for building realtime features in applications. However, in some realtime communication applications, ActionCable is just not good enough. Especially in a stack where o...
TLDR: A vessel called Mimemagic run aground, blocking a vital trade route and halting traffic for all others and forcing a reroute for some for six days. Jokes aside, what happened in Rails last we...
You may have implemented authentication in one of your apps, either directly with Rails’s has_secure_password or indirectly through a gem like Devise. Whichever way, you persisted user passwords in so...