sandip paridatechlye.hashnode.dev·Jan 4, 2024Rails Custom Auth ,Explore :-has_secure_password in Ruby on RailsAuthentication is a fundamental aspect of web applications, and Ruby on Rails simplifies this process through the has_secure_password feature. This built-in Rails method, coupled with the bcrypt gem, streamlines password encryption and user authentic...authentication
sandip paridatechlye.hashnode.dev·Dec 29, 2023Adding Custom Commands like 'Clear Screen' In IrbIntroduction: "Hey, fellow Ruby enthusiasts! Want to sprinkle some magic into your Ruby Interactive Ruby Shell (IRB)? Let's explore custom commands that'll personalize your IRB sessions and make Ruby exploration more enchanting!" Q: How can we make R...12 likes·56 readsirb
sandip paridatechlye.hashnode.dev·Dec 29, 2023Mastering Metaprogramming in Ruby: The Art of Crafting Code that Writes CodeIntroduction: Metaprogramming in Ruby opens the door to an enchanting world where code can dynamically create other code. Let's unravel the secrets behind this powerful technique! What is Metaprogramming? Metaprogramming allows us to write code that ...10 likesRuby
sandip paridatechlye.hashnode.dev·Dec 28, 2023Magical API Wrapping in Ruby: Explore the Charm of method_missing and OpenStructAh, the world of Ruby programming! It's a place where code transforms into magic spells. Today, let's uncover a spellbinding technique: weaving together APIs and Ruby classes using the delightful method_missing and OpenStruct. Setting the Stage: Imag...Ruby
sandip paridatechlye.hashnode.dev·Dec 26, 2023Class Secrets: A Guide to instance_methods for Navigating Extensive CodebasesTitle: "Mastering Ruby's instance_methods: Unlocking Custom Methods within Classes" Ruby, an elegant and flexible language, houses a hidden gem within its repertoire of features: instance_methods. This powerful tool grants access to a treasure trove...28 reads#InstanceMethods