Ruby On Rails interview questions – page 4

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

Advertisement
  1. what is different between activerecord::relation's count, length and size methods?

  2. what is rails caching?

  3. Tell me what is coc in rails?

  4. Explain what are the servers supported by ruby on rails?

  5. what are benefits of using active record as opposed to raw sql queries?

  6. who developed rails?

  7. What is difference between form_for and form_tag?

  8. What is rails migrations?

  9. what is the use of super function in ruby on rails?

  10. what is testing in rails?

  11. what are rails filters?

  12. Explain what is the role of the subdirectories app/controllers and app/helpers in rails?

  13. Advertisement
  14. How will be the future for ruby on rails?

  15. What is a ruby singleton method ?

  16. Difference between argument and parameter in ruby on rails ?

  17. If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

  18. How is visibility of methods changed in ruby (encapsulation) ?

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

  20. Explain about restful architecture?

  21. What do you mean by render and redirect_to?

  22. How to find second max element from database ?

  23. Explain Get and post method?

  24. what are helpers and how to use helpers in ror?

  25. Where does the start_tabnav gets informations for tabs rendering in ruby rail?

  26. Advertisement
  27. What can Rails Migration do?

  28. What is ORM in Rails?

  29. What is the Install rail package?

  30. How you run your Rails Application without creating database ?

  31. what is the difference between Dynamic and Static Scaffolding?

  32. how can you declare a block in Ruby?

Advertisement