Content posted here with the permission of the author PJ Hagerty, who is Developer, writer, speaker, musician, and Developer Advocate. He is known to travel the world speaking about programming and the way people think and interact. You and your partners have come up with a brilliant idea. You are ready to disrupt an industry … Continue reading 5 Reasons For Ruby To Become The Go-To Choice For Startups
Category: Ruby on Rails
What Are The Special Use Cases Of MD5 In Rails?
What is MD5? The MD5 is a hashing algorithm. It is a one-way cryptographic function. It accepts a message of any length as input and returns the fixed-length digest value. There are various use-cases of MD5. I have listed few of them below. Use-case 1: Single Uniqueness Validation For Multiple Attributes. Have you ever stuck … Continue reading What Are The Special Use Cases Of MD5 In Rails?
Learn Where The Usage Of Memoization In Ruby On Rails Is Limited
Memoization is a wonderful concept in programming world. It helps in writing clean code which execute faster. Example: def slow_method @result ||= perform_slow_method end In the above code, slow_method will cache perform_slow_method in @resultvariable, therefore perform_slow_method will execute only once. So, if memoization is wonderful then why not to use it always? that’s the question I am going to answer … Continue reading Learn Where The Usage Of Memoization In Ruby On Rails Is Limited
