I believe one’s level of focus on a particular task is directly proportional to the time spent to deliver the task. How can I improve my focus? Answering this question helped me a lot. …
Blog Posts
A common way to do Authentication is by generating a JSON-Web Token and Ruby on Rails is the framework we use when building a JSON API. In this article, we focus on authorizing our endpoints and testing them using Postman. …
Token-based authentication has gained a lot of popularity in securing an API. In this article, we'll take our Rails RESTful JSON API app to the next level through user registration and login, plus authentication with JSON Web Tokens. …
The open source nature of Rails, and its rich ecosystem inherited from Ruby, gives it an advantage of both time and cost efficiency to get your API up and running fast. In this article, we’ll build a simple Rails RESTful JSON API using Rails. …
If you have been using Heroku often, you’ll notice that it is not suitable for persisting image storage and should not be used for any permanent storage. In this article, we simplify how you can perform direct uploads to Cloudinary in your Rails application, in order to persist your image uploads. …
In this tutorial, we are going to be setting up Shrine to upload the image to our Rails application in seven simple steps. …
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 …
When you create a webform, then submit the form to see if it successfully adds the data to the database; that’s testing. When you submit the same form again, with the wrong input, to see if it rejects the form and tells the user there’s a problem, that’s also testing but manual testing. …
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 …
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. …
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 …
















Social Profiles