Ruby Interview Questions

830 ruby interview questions shared by candidates

What are ACID principles Differences between Virtual Machine and Container SOAP vs REST Solid principles, when not to apply them CAP Theory Which design patterns do you know Do you have experience with test driven development? When would you use SQL and Non SQL database
avatar

Ruby Software Engineer

Interviewed at Distribusion

3
Mar 25, 2025

What are ACID principles Differences between Virtual Machine and Container SOAP vs REST Solid principles, when not to apply them CAP Theory Which design patterns do you know Do you have experience with test driven development? When would you use SQL and Non SQL database

1. You begin to notice that your Rails app is loading slowly. It takes 8 seconds for a specific controller action to render. How would you troubleshoot this? 2. You are working on adding comment functionality to your Rails app that will allow users to leave comments on various models. You realize that there will be a collection of forms and model code that will be duplicated across a few models. What are some strategies you can employ for reducing duplication and bloated Active Record models? What are the pros/cons of each strategy? 3. N+ 1 code 4. Fixing rspec test cases and adding more test cases
avatar

Ruby On Rails Developer

Interviewed at Brainstorm Force

4
Sep 10, 2023

1. You begin to notice that your Rails app is loading slowly. It takes 8 seconds for a specific controller action to render. How would you troubleshoot this? 2. You are working on adding comment functionality to your Rails app that will allow users to leave comments on various models. You realize that there will be a collection of forms and model code that will be duplicated across a few models. What are some strategies you can employ for reducing duplication and bloated Active Record models? What are the pros/cons of each strategy? 3. N+ 1 code 4. Fixing rspec test cases and adding more test cases

Viewing 501 - 510 interview questions

Glassdoor has 830 interview questions and reports from Ruby interviews. Prepare for your interview. Get hired. Love your job.