Without Book Interview Questions and Answers | Online Test | Moct Test
Download Android App in your Android Device from Google Play Store
- Search for "Withoutbook Practice Exam Test" in Mobile/Tablet Play Store
Institute Training Search by Name or Email

Exams Attended

Make Homepage

Bookmark this page

Subscribe Email Address

Ruby On Rails Interview Questions and Answers

  Difficulty Level: AllBeginnerIntermediateExpert

Ques 1. What are Class Variables? How to define them?

Ques 2. How to define Instance variables?

Ques 3. How can you dynamically define a method body in Ruby on Rails?

Ques 4. What is Range?

Ques 5. How can you implement method overloading in Ruby on Rails?

Ques 6. What is the difference between ‘&&’, ‘AND’ and ‘&’ operators?

Ques 7. What is the convention using ‘!’ at the end of method name?

Ques 8. Does Ruby support Multiple Inheritence?

Ques 9. How can you achieve the same as Multiple Inheritance using Ruby? What is Mixin?

Ques 10. How will you implement Single Pattern in Ruby on Rails?

Ques 11. How will you implement Observer Pattern in Ruby on Rails?

Ques 12. What is the purpose of Environment.RB and Application.RB in Ruby on Rails?

Ques 13. How can you define a Constant in Ruby on Rails?

Ques 14. How can you fire a method when a module is inside a class?

Ques 15. What is the default access modifier for a method?

Ques 16. How can you call the base class method from inside of its overridden method?

Ques 17. Define the Rails MVC implementation with an example.

Ques 18. What is Scope in Ruby on Rails?

Ques 19. CAN YOU GIVE AN EXAMPLE OF A CLASS THAT SHOULD BE INSIDE THE LIB FOLDER?

Ques 20. WHERE SHOULD YOU PUT CODE THAT IS SUPPOSED TO RUN WHEN YOUR APPLICATION LAUNCHES in Ruby on Rails?

Ques 21. What deployment tools do you use for Ruby on Rails?

Ques 22. What deployment tools do you use for Ruby on Rails?

Ques 23. How can you migrate your database schema one level down?

Ques 24. What is Sweeper in Ruby on Rails?

Ques 25. How can you implement Caching in Ruby on Rails?

Ques 26. What is Filter and when is it called in Ruby on Rails?

Ques 27. What do Controllers task in Ruby on Rails?

Ques 28. What is RESTFUL routing in Ruby on Rails?

Ques 29. How can you routes all routs of an application?

Ques 30. How can you send a MULTI-PART Email?

Ques 31. What is the purpose of Layouts in Ruby on Rails?

Ques 32. IS IT POSSIBLE TO EMBED PARTIAL VIEWS INSIDE LAYOUTS? HOW?

Ques 33. What is Rake in Ruby on Rails?

Ques 34. What is Capistrano?

Ques 35. What is Eager Loading in Ruby on Rails?

Ques 36. How does Validation works in Ruby on Rails?

Ques 37. How can you add custom validation on your model in Ruby on Rails?

Ques 38. What is Flash in Ruby on Rails?

Ques 39. HOW CAN YOU INSTALL THE MISSING GEMS THAT ARE REQUIRED BY YOUR APPLICATION IN THE SIMPLEST WAY in Ruby on Rails?

Ques 40. How can you implement internationalization in Ruby on Rails?

Ques 41. WHAT PLUGIN WOULD YOU RECOMMEND FOR USER AUTHENTICATION AND AUTHORIZATION?

Ques 42. WHAT PLUGIN DO YOU USE FOR FULL-TEXT SEARCH in Ruby on Rails?

Ques 43. WHAT IS THE DIFFERENCE BETWEEN A PLUGIN AND A GEM in Ruby on Rails?

Ques 44. HOW CAN YOU IMPLEMENT A SEARCH FEATURE THAT SEARCHES FOR MULTIPLE MODELS in Ruby on Rails?

Ques 45. HOW CAN YOU UPLOAD A FILE TO A SERVER in Ruby on Rails?

Ques 46. HOW CAN YOU GENERATE SITEMAPS FOR YOUR RAILS SITE?

Ques 47. HOW CAN YOU SHOW SEARCH USER FRIENDLY URLS INSTEAD OF USING ONLY NUMERIC IDS in Ruby on Rails?

Ques 48. HOW CAN YOU CREATE PAGE TITLES AND METADATA FOR YOUR PAGES in Ruby on Rails?

Ques 49. HOW CAN YOU CREATE BREADCRUMBS ON YOUR PAGES in Ruby on Rails?

Ques 50. Is Rails Scalable?

Ques 51. What are the key deployment challenges in Ruby on Rails?

Ques 52. HOW CAN YOU SAFEGUARD A RAILS APPLICATION FROM SQL INJECTION ATTACK?

Ques 53. How can you secure a Rails Application?

Ques 54. What is Ruby On Rails?

Ques 55. Why Ruby on Rails?

Ques 56. Explain how (almost) everything is an object in Ruby.

Ques 57. What’s your favorite testing tool?

Ques 58. What are Gems and which are some of your favorites?

Ques 59. What is a class?

Ques 60. What is the difference between a class and a module?

Ques 61. What is an object?

Ques 62. How would you declare and use a constructor in Ruby?

Ques 63. How does a symbol differ from a string?

Ques 64. How and when would you declare a Global Variable?

Ques 65. How would you create getter and setter methods in Ruby?

Ques 66. Describe the difference between class and instance variables?

Ques 67. Example some of the looping structures available in Ruby?

Ques 68. Explain the difference between a has_one and belongs_to association in Ruby on Rails.

Ques 69. Explain a polymorphic association in Ruby on Rails.

Ques 70. What is a Proc?

Ques 71. What is a lambda?

Ques 72. What are the three levels of method access control for classes and what do they signify? What do they imply about the method?

Ques 73. Explain what functional testing is in Ruby on Rails.

Ques 74. What is the purpose of YIELD in Ruby on Rails?

©2016 WithoutBook