Ali Ahmad·Jan 31, 2025Seamless OKTA Authentication Integrating Omniauth, OpenID Connect & Doorkeeper | Part 2In Part 1 we have implemented the Authentiocation of a Api using Doorkeeper in this part we will be using Logged in with OKTA.
Ali Ahmad·Jan 31, 2025Enhancing API Security in Rails 7 with Doorkeeper and JWT AuthenticationCreate a Demo Application of rails, Rails new demo.
Ali Ahmad·Aug 21, 2024Bypassing User Authentication in Your System with a Master UserWhen working in a support or administrative role, there are times when you need to bypass user authentication to assist a user effectively…
Ali Ahmad·Feb 20, 2024Installing R/shinny in Mac OS (Intel)to start from somewhere in a new language, you must make a suitable environment for it. sometimes it can be a headache to kick off.
Ali Ahmad·Sep 19, 2023Rails Upgrade: From 4.0 to 6.1 to 7.1 and Ruby 2.0 to 3.0 to 3.1.3In the ever-evolving world of web development, keeping your tech stack up-to-date is crucial. Legacy frameworks like Rails often require…
Ali Ahmad·Aug 21, 2023How to Access a Hash with both String and Symbol Keys in RailsSometimes, you receive a hash key as a method parameter or via user input, and you want to make your hash understand that key as-is…
Ali Ahmad·Aug 21, 2023How to Compress a File in Ruby and Rails SeparatelyYou can compress large strings using the Zlib module provided by Ruby’s standard library.
Ali Ahmad·Aug 18, 2023The Difference Between nil?, empty?, and blank? in RubyIn ruby, you can use the nil? method on an instance to check if it’s nil. However, ruby also provides empty? and there’s a blank? method in…
Ali Ahmad·Aug 16, 2023Most Demanding Ruby GemsI have been working with Ruby on Rails for the last 6 years and every time I shift on some project they are many mistakes and poor code…