Ror Developer Interview Questions

112 ror developer interview questions shared by candidates

Round 1: All questions are ruby on rails related + resume + experience questions 1. Introduce yourself 2. Little bit of resume and experience you have Then i was tested on ruby on rails. 3. They use graphQL, so having basic idea is good, like whats its purpose 4. Rails associations 5. Active record callbacks. Difference between after_commit and after_save 6. Polymorphic association, give an example 7. What inheritance is allowed in ruby ? (ans: only single inheritance is allowed) 8. How can we copy multiple inheritance behaviour (ans: using mixins) 9. How to make ruby API faster if API is too slow (ans: reducing N + 1 queries, using joins and includes queries, using eager_loading, pagination, caching) 10. Rails transactions, understand it well 11. What is the use of controller ? 12. Monkey patching (try giving example also) 13. What gems did you last use 14. Suppose there is a heavy job like generating PDF for some user. How will you do it ? (ans: we put it in background jobs queue) Round 2 will also be similar.
avatar

ROR Developer

Interviewed at Shriffle

3.8
Jul 21, 2023

Round 1: All questions are ruby on rails related + resume + experience questions 1. Introduce yourself 2. Little bit of resume and experience you have Then i was tested on ruby on rails. 3. They use graphQL, so having basic idea is good, like whats its purpose 4. Rails associations 5. Active record callbacks. Difference between after_commit and after_save 6. Polymorphic association, give an example 7. What inheritance is allowed in ruby ? (ans: only single inheritance is allowed) 8. How can we copy multiple inheritance behaviour (ans: using mixins) 9. How to make ruby API faster if API is too slow (ans: reducing N + 1 queries, using joins and includes queries, using eager_loading, pagination, caching) 10. Rails transactions, understand it well 11. What is the use of controller ? 12. Monkey patching (try giving example also) 13. What gems did you last use 14. Suppose there is a heavy job like generating PDF for some user. How will you do it ? (ans: we put it in background jobs queue) Round 2 will also be similar.

Viewing 61 - 70 interview questions

Glassdoor has 112 interview questions and reports from Ror developer interviews. Prepare for your interview. Get hired. Love your job.