Archive for Sheriff Hussain

Rake Tasks 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 4 Min. Read Oct 15, 2020

The blog gives idea on how to create rake tasks, how to use parameters passed to the tasks, how to manage the execution pattern, namespaces, and many more
Read More..

Using Data Table Along With Turbolinks 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 1 Min. Read Sep 18, 2020

Using jQuery Data-Table along with turbolinks in rails, and also solving the most common duplication problem while using them together.
Read More..

Web Socket 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 1 Min. Read Mar 1, 2020

Web Sockets provide a persistent connection between the server and the client, which help in real time communication.
Read More..

Block,Lambda And Proc 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 3 Min. Read Dec 8, 2019

A glimpse to block, proc and lambda for beginners.
Read More..

Access Modifiers 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 5 Min. Read Aug 25, 2019

The post will guide you about the various access modifiers that are available in Ruby and how they are different from various other programming languages.
Read More..

Learning Ruby 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 81 Min. Read Aug 18, 2019

This blog covers topics starting from the basics of Ruby and it's introduction and installation leading upto various advanced Ruby topics.
Read More..

Introduction To Authorization In Rails App Using Pundit With Policy Testing 

SheriffSheriff Hussain (Software Engineer (Ruby on Rails)) 5 Min. Read Aug 12, 2019

Pundit is mainly used for integrating authorizations in your project. Suppose you have two users in your project, an Admin and a Guest User, and you want to develop your application in such a way that it serves different users accordingly. In this scenario the Pundit gem will help you to fully authorize your application, such that no user can make requests that are not authorized to them.
Read More..