Ruby On Rails interview questions

149 questions. Tap “Show answer” to check yourself.

Advertisement
  1. What is the difference between render and redirect?

  2. What does session and cookies represent in ruby on rails?

  3. What is the directory structure of rails?

  4. What are the different types of association relationships that exist?

  5. What is the purpose of require_relative in ruby?

  6. Choosing between belongs_to and has_one?

  7. What is bundler?

  8. What are the servers supported by ruby on rails?

  9. How to use two databases into a single application?

  10. What are the different components of rails ?

  11. How do I find only duplicate entries in a database table?

  12. How many types of associations relationships does a model have?

  13. Advertisement
  14. What is the difference between delete and destroy ?

  15. What is a proc ?

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

  17. What are the different filters used in ruby on rails?

  18. Mention the differences between the observers and callbacks in ruby on rails.

  19. What do you understand by rails migration and what it can do?

  20. What do you understand by rails?

  21. What does ruby name refer to?

  22. What are the steps involved in writing and setting up an application in ruby on rails?

  23. write a program to show the usage of sql in the database file?

  24. What are the functions performed by rails migration?

  25. Mention all the naming conventions in ruby on rails.

  26. Advertisement
  27. Write a program to generate and run the application without the use of database

  28. What is the purpose of auto_load in ruby?

  29. What is the purpose of load in ruby?

  30. What is the main function of helpers used in ruby on rails?

  31. What is the function of orm in ruby on rails?

  32. What is the use of $ in ruby?

Advertisement