Ror Developer Interview Questions

112 ror developer interview questions shared by candidates

Ds/algo 1. Staircase Problem Fibonacci Series 2. Level Order Tree Order Traversal ROR 1. Diff between require and include 2. The syntax of validates_uniqueness_of function in ActiveRecord (was asked to write the code of putting validation on 2 fields). I told him that this is the function which would solve this problem but I would check the library for syntax and parameters that can be passed to this function. DB: 1. Write a query to update the missing values of table 1 from table 2 (Again he was adamant that how can I forget the "set" keyword in the update query). Why would I need to remember these things when there are libraries you can reference. I know how it can be done and whether this is doable or not and I guess that should be sufficient.
avatar

Lead ROR Dev

Interviewed at Housing.com

3.7
Feb 16, 2019

Ds/algo 1. Staircase Problem Fibonacci Series 2. Level Order Tree Order Traversal ROR 1. Diff between require and include 2. The syntax of validates_uniqueness_of function in ActiveRecord (was asked to write the code of putting validation on 2 fields). I told him that this is the function which would solve this problem but I would check the library for syntax and parameters that can be passed to this function. DB: 1. Write a query to update the missing values of table 1 from table 2 (Again he was adamant that how can I forget the "set" keyword in the update query). Why would I need to remember these things when there are libraries you can reference. I know how it can be done and whether this is doable or not and I guess that should be sufficient.

Decorators, How would you structure a Rails application to ensure high scalability, What is the N+1 query problem, and how do you detect and resolve it in Rails, challenges and strategies for caching data in a multi-server environment, difference between unit tests, functional tests, integration tests, and system tests in Rails, How would you handle background processing in Rails? Explain differences between Sidekiq, Resque, and ActiveJob, what are the security best practices when building an API with Rails (handling CORS, authentication), multi-factor authentication,
avatar

Senior ROR Developer

Interviewed at Acid Labs

3.3
Dec 17, 2024

Decorators, How would you structure a Rails application to ensure high scalability, What is the N+1 query problem, and how do you detect and resolve it in Rails, challenges and strategies for caching data in a multi-server environment, difference between unit tests, functional tests, integration tests, and system tests in Rails, How would you handle background processing in Rails? Explain differences between Sidekiq, Resque, and ActiveJob, what are the security best practices when building an API with Rails (handling CORS, authentication), multi-factor authentication,

Viewing 41 - 50 interview questions

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