Saman BatoolWebSocket Protocol with ActionCable — a high-level understandingThe WebSocket protocol is made available to rails via ActionCable. Let’s first take a look at what happens in a standard HTTP…Nov 8, 2022Nov 8, 2022
Saman BatoolSelf-referential association — railsIf you have users and are trying to implement functionality where users can track other users, creating a self-referential association…Oct 4, 2022Oct 4, 2022
Saman BatoolDevise for user auth — RailsIf you’ve built rails apps before, you know that it is possible to build a full user authentication system from scratch. Let’s talk about…Oct 4, 2022Oct 4, 2022
Saman BatoolAJAX (Asynchronous Javascript — with Rails applications)In a standard HTTP request-response cycle, we make a request from the browser - it hits our server - we receive the information we need…Sep 27, 2022Sep 27, 2022
Saman BatoolSecure credentials with Rails 6Whenever you’re working with secure credentials (such as a publishable token), you want a secure way to handle them so that they don’t show…Sep 22, 2022Sep 22, 2022
Saman BatoolJavascript Fetch APIIn this blog, we’ll talk about the JavaScript Fetch API and how to use it to make asynchronous HTTP requests.Nov 30, 2020Nov 30, 2020
Saman BatoolTrees, Binary Search Trees and traversal methods, the difference and why.Data structures, amongst other things, are used to store and organize data. Different types of data are more efficiently organized using…Nov 22, 2020Nov 22, 2020
Saman BatoolIntegrating CarrierWave in my Rails ApplicationThis week I decided to backtrack from front-end development for a bit to brush up my Ruby on Rails skills (mainly to test if I may have…Nov 6, 2020Nov 6, 2020