PinnedBanura RandikaDynamically changing the favicon in RailsHow to render a favicon depending on the page or action in Ruby on RailsOct 20, 2023Oct 20, 2023
Banura RandikaAdvanced uses of ‘select’ in Rubyadvanced use cases for the ‘select’ methodNov 14, 2023Nov 14, 2023
Banura RandikainEnlear AcademyIntegrate OpenAI to RailsGet started with OpenAI APIsJul 25, 20232Jul 25, 20232
Banura RandikainEnlear AcademyUnleashing Dynamic Method Creation in RubyDemystifying Ruby’s “define_method”Jul 12, 2023Jul 12, 2023
Banura RandikainEnlear AcademyRails ‘unmatched’ routesHow to handle the 404 (not found) route errorsJun 26, 2023Jun 26, 2023
Banura RandikainEnlear AcademyRuby ‘Dig’ HashesThrough examination of Ruby’s ‘dig’ methodJun 19, 2023Jun 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 ?Jun 7, 2023Jun 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 conditionsMay 28, 2023May 28, 2023