What is the purpose of auto_load in ruby?



What is the purpose of auto_load in ruby?..

Answer / Surat Chand Ramola

Auto-loading in Ruby automatically loads classes and modules when they are first referenced. It's a feature in Ruby on Rails that helps to improve application performance by reducing the need for constant file reads.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

1 Answers  


How will be the future for ruby on rails?

1 Answers  


Am Fresher ..,i dont know seven controller methods.am searching in google .but am not getting .help me

1 Answers   Baidu,


What is the functionality of Model views and controllers

2 Answers  


What is the use of the super function in ruby on rails?

1 Answers  


what is the purpose of the resources method in the code snippet below?

1 Answers  


What role does garbage collection play?

1 Answers  


What are the three methods to install ruby on rails?

1 Answers  


What is rails scaffolding?

1 Answers  


Write a program to show the functionality of request.xhr in ruby on rails ?

1 Answers  


how does ruby on rails use the model view controller (mvc) framework?

1 Answers  


what are the limits of Ruby on Rails?

1 Answers  


Categories