PinnedBanura RandikaDynamically changing the favicon in RailsHow to render a favicon depending on the page or action in Ruby on Rails5 min read·Oct 20, 2023----
Banura RandikaAdvanced uses of ‘select’ in Rubyadvanced use cases for the ‘select’ method3 min read·Nov 14, 2023----
Banura RandikainEnlear AcademyIntegrate OpenAI to RailsGet started with OpenAI APIs6 min read·Jul 25, 2023--2--2
Banura RandikainEnlear AcademyUnleashing Dynamic Method Creation in RubyDemystifying Ruby’s “define_method”4 min read·Jul 12, 2023----
Banura RandikainEnlear AcademyRails ‘unmatched’ routesHow to handle the 404 (not found) route errors2 min read·Jun 26, 2023----
Banura RandikainEnlear AcademyRuby ‘Dig’ HashesThrough examination of Ruby’s ‘dig’ method2 min read·Jun 19, 2023----
Banura RandikainEnlear AcademyHow to read Rails credentials from anywhere without loading RailsThere are situations where you need to run code without initializing Rails. In these situations how can we use Rails Credentials ?3 min read·Jun 7, 2023----
Banura RandikainEnlear AcademyDynamically Build Where Clauses in Ruby on RailsThis article explain how to build where clauses in ActiveRecord and Mongoid dynamically by using hash to contain the conditions3 min read·May 28, 2023----