⟩ Tell me what is the function of garbage collection in Ruby on Rails?
The functions of garbage collection in Ruby on Rails includes
☛ It enables the removal of the pointer values which is left behind when the execution of the program ends
☛ It frees the programmer from tracking the object that is being created dynamically on runtime
☛ It gives the advantage of removing the inaccessible objects from the memory, and allows other processes to use the memory