Articles on Rails

Introducing Rails Active Storage For File Uploads

DHH [Creator of Rails] has recently announced Active Storage as a built in support for file uploads. Active Storage is targeted to be released with Rails 5.2. The development has been started on Github in ActiveStorage repository. It is started as a separate repository for now. This ActiveStorage is eventually plann...

What's New In Ruby on Rails 5.1

Recently Ruby on Rails 5.1 has been introduced. Let’s have a look what new features it has to offer to all Rails fans. On April 27 Rails Conf, which is the major event in Ruby on Rails world, took place in Phoenix, Arizona. It is 12th time Rails professionals from all over the world get together, which made it a pe...

Rails Hosts: Amazon AWS Vs. Digital Ocean Vs. Heroku Vs. Engine Yard

1 Introduction In the mid-to-late 1990ss and early 2000s, choosing a hosting provider was a relatively straightforward process. You would find a service that could host your PHP application, your MySQL database, and provide shell access. Fast forward to 2014 and the landscape has changed dramatically. There are doz...

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...

A Web Server vs. An App Server

When you research how to deploy your Rails app, you’ll see a lot of names: Apache, Unicorn, Puma, Phusion Passenger, Nginx, Rainbows, and many more. They all seem to fit under the “deploying Rails” category of software, but there’s a key difference between them. Some are “web servers,” and others are “app servers.” ...

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 ...

What is Rack middleware?

Lets start with a basic browser-server interaction. Say you’re developing an app with Rails (or any other Ruby web framework) and it has a page located at ‘http://localhost:3000/users’ that displays all users. The ‘/users’ request is going to go to your Rails server asking to show all users. Behind the scenes, this...

When to use SaaS, PaaS, and IaaS

WHAT’S THE DIFFERENCE BETWEEN SAAS, PAAS, IAAS? When your business has made the decision to consider cloud services for your application or infrastructure deployment, it’s important that you grasp the fundamental differences between the core categories of cloud services available. The cloud is a very broad concept...

Links
Stay Updated

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

Subscribe (Weekly Only)