Articles on RubyGems

Authentication and Authorization in Rails

You create an online web application and you want to define its access policy for the resources which you wish to protect? Or maybe you want to verify the identity of users visiting your website? In this tutorial, I will show you how simple it is to authenticate and authorizate your application using the popular rai...

Sending Emails In Rails Applications

Introduction In this article we will walk through a simple app to demonstrate how to send emails through a Rails application with ActionMailer, ActionMailer Preview, and through a third party email service provider such as Gmail or Mailgun. We will also demostrate how to use Active Job to send the email with a back...

Ruby On Rails User SignUp Email Confirmation(Manual)

Learning rails is very easy these days with the wealth of amazing tutorials out there however in my search I couldn’t find a good tutorial on how to build an email confirmation system for user sign up (you know the type where you have to click on a link in an email to confirm that the email address is actually yours...

Messaging Between Users Using MailBoxer Gem

Here I show how to implement a private messaging system with mailboxer gem. INTRODUCTION It's been quite a while since my last tutorial and since then I've recieved alot of requests by email to implement a private messaging system in Rails. In this tutorial I will guide you on how to implement such a system using ...

Set Up Redis and Sidekiq In Rails Application (Background Processing)

Sidekiq is a simple, open source background processor for Ruby. This tutorial explains how to set up your Rails app with background jobs from Sidekiq using Redis. In a nutshell, when we create background jobs, we pass an object, with the data to use, to the worker. In most cases, we want the background job to refer...

Build a RESTful JSON API With Rails 5

Rails is popularly known for building web applications. Chances are if you're reading this you've built a traditional server-rendered web application with Rails before. If not, I'd highly recommend going through the Getting Started with Rails page to familiarize yourself with the Rails framework before proceeding wi...

It's Time To HTTParty!

When you’re developing with Ruby, it’s pretty inevitable that at some point you come across an HTTP API that doesn’t have a gem available. While writing Hopefully Sunny I ran into just that situation with World Weather Online’s weather API. It’s often really tempting to go searching for a different API to use instea...

Real Time Chat Application With Rails

Have you ever dreamed about creating your own chat application that works like Facebook Messenger? In this tutorial, we will use the Rails 5 feature called ActionCable to build one without using any front-end framework (expect jQuery – but it’s just a light library). Our goal is to create a real time Rails chat appl...

Setting Up Rails 5 App With Complete Test Suite And Essential Ruby Gems

In this article we're going to create rails 5.2 boilerplate app by installing complete test suite and most used gems: To clone this boilerplate app CLICK HERE, just clone this repo into your local machine and rename this with your app name (instructions given in readme file) Okay. first let's get into our terminal...

Rails from Request to Response

I've been developing Rails applications for personal and work projects for several years now, and I recently realized that my understanding of the Rails internals was relatively limited. I'm totally comfortable wiring up routes and controllers and working with all of the MVC goodness that comes with Rails, but I did...

Links
Stay Updated

Join With Other 2000+ Devs To Stay Updated On Your Favourite Technology

Subscribe (Weekly Only)