All Posts By

Uduak Essien

Coding Challenges

Beginners Guide to Understand RSpec Model and Helper Specs

RSpec Model and Helper Specs are important tests for developers to run in applications. In this article, we look at the most common issues when working with them, and share tips and advice for using them.

Posted on 
Jun 1, 2023
  by
Uduak Essien
Read More
arrow right icon
Learn to Code

Testing and Securing Rails API Endpoints With JWT and Postman

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.

Posted on 
Jul 15, 2021
  by
Uduak Essien
Read More
arrow right icon
Learn to Code

How to Build a RESTful API Authentication With JWT (TDD Approach)

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.

Posted on 
May 4, 2021
  by
Uduak Essien
Read More
arrow right icon
Learn to Code

Test Driven Development of a RESTful JSON API With Rails

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.

Posted on 
Mar 18, 2021
  by
Uduak Essien
Read More
arrow right icon
Ruby on Rails

Rails Direct Uploads to Cloudinary Made Easy With Shrine

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.

Posted on 
Feb 3, 2021
  by
Uduak Essien
Read More
arrow right icon
Ruby on Rails

Rails Image Upload in 7 Simple Steps Using Shrine

File uploading is an important aspect of many Rails applications and image uploading, in particular, is one of the most important features. In this article, we’ll simplify the image uploading process in 7 simple steps to make your life easier, using Shrine.

Posted on 
Jan 14, 2021
  by
Uduak Essien
Read More
arrow right icon
Learn to Code

RSpec Controller/Request Specs & Integration Tests Using Capybara

Performing a functional, and integration, test on your application is needed to gain wider test coverage. In this article, you’ll learn how to work with controller/request specs, as well as integration testing using Capybara.

Posted on 
Nov 20, 2020
  by
Uduak Essien
Read More
arrow right icon
Ruby on Rails

Understanding Test-Driven Development with RSpec in Ruby on Rails

One of the key parts of being a developer is testing your code. So it's important to understand why, and when, to test, as well as testing best practices. In this article, we explain test-driven development with Rspec in Ruby on Rails.

Posted on 
Nov 2, 2020
  by
Uduak Essien
Read More
arrow right icon
We use own and third party cookies to; provide essential functionality, analyze website usages, personalize content, improve website security, support third-party integrations and/or for marketing and advertising purposes.

By using our website, you consent to the use of these cookies as described above. You can get more information, or learn how to change the settings, in our Cookies Policy. However, please note that disabling certain cookies may impact the functionality and user experience of our website.

You can accept all cookies by clicking the "Accept" button or configure them or refuse their use by clicking HERE.