Blog Posts

Understanding RSpec Controller/Request Specs & Integration Tests Using Capybara

In the final article of this series you’ll gain an in-depth understanding of controller specs, request specs and feature specs. You’ll also learn how to use Capybara to describe a typical user story where all interactions are driven via the user interface. For example, when a user visits a home page, gets redirected to sign in, fills the login form and clicks the login button. For full article, read at Microverse

Continue Reading

Rails View Helpers — Best Practices Guide

A helper method is used to perform a particular repetitive task common across multiple classes. They help us stay committed to upholding the DRY principle. Helper methods are really handy and can help minimize errors in our code by having the logic in one place and let them handle just one particular task and handles it very well. Transitioning from HTML and CSS to Ruby curriculum to SQL and now Ruby on Rails has not just been amazing for me. I have been able to leave

Continue Reading

Toastr, a Perfect Flash Message Alternative for Rails

I am going to spare you the drama of onboarding you with what flash messages are in rails. Hmm! Okay, just a bit of it so I form my intro. Here you are, a classic definition: A flash message is a way to communicate information with the users of your Rails application so they can know what happens as a result of their actions. For full article, read at Medium

Continue Reading

Responsive Design — you’re doing it wrong!

Responsive design is not just about the web that automatically adjusts to different screen resolutions and resizeable images, but designs that are crucial for web performance. In my short journey of working with HTML and CSS, interactions with other developers, I found out that these two words — flexibility and responsiveness have often been used interchangeably to illustrate the core of responsive web design. For full article, read at Medium

Continue Reading

Site Footer