Abhishek Tanwar·Jan 4, 2024Why do we need strong parameters in rails?In Ruby on Rails, “strong parameters” refers to a security feature that helps protect your application against mass assignment…
Abhishek Tanwar·Dec 26, 2023A Guide to Annotate Gem in Rails: Documenting Your Database SchemaIntroduction
Abhishek Tanwar·Dec 26, 2023What is the difference between “validate” and “validates” in the rails model?Hello friends, In Ruby on Rails, the terms “validate” and “validates” refer to different aspects of the validation process in a model.
Abhishek Tanwar·Mar 22, 2023WHAT IS THE DIFFERENCE BETWEEN A PLUGIN AND A GEM in Ruby on Rails?Hello friends, today i am going to explain about plugin vs gem,
Abhishek Tanwar·Mar 22, 2023What is attr_accessor in Ruby?Hello guys, this is Abhishek Tanwar, now i am going to explain about attr_accessor —
Abhishek Tanwar·May 29, 2022How Rails Concerns Work and How to Use Them?A Rails Concern is a module that extends the ActiveSupport::Concern module. Concerns allow us to include modules with methods (both…
Abhishek Tanwar·May 29, 2022What’s a ViewComponent?A framework for creating reusable, testable & encapsulated view components, built to integrate seamlessly with Ruby on Rails.
Abhishek Tanwar·Dec 6, 2021How to use yield within a class in ruby?Hello guys, in this article i am going to explain how to use yield within a class , we have seen many example like as —
Abhishek Tanwar·Oct 12, 2021Bang methods in rubyIn this article, we’ll look at what bang methods are and how they work.