What is ActiveRecord? Tell about caching in Rails application? What should we cache? Tell about token authentication in the Rails app? What are RESTful methods? How does HTTP request work in the Rails app?
Rails Developer Interview Questions
492 rails developer interview questions shared by candidates
They asked about past experience, and took me through some scenarios on how do I handle some situations.
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
Questions on modules and which function will be called if modules are included and inheritance is also there and all have same named function
The diference of a hash with indiferent access and a hash
It was an HR Interview mainly of what I do, introduction to myself and my expected salary. Also there was a technical exam.
Am I willing to work with different language than the one I am interviewed for.
A few database queries
What is your favorite Ruby gem?
ACID in mysql DB transaction. SOLID principles, OOAD. Algorithm of shortest route between two nodes in a graph. Find size of the linked list.
Viewing 301 - 310 interview questions