CodeNewbie Community 🌱

Fabián Rodríguez for SunDevs Inc.

Posted on

10 interview questions to get a job as an Ruby on Rails developer

One of the best practices for software developers in any stage of their careers, is to prepare for the job interview.

In the this article, I'll share with you 10 questions that companies use when they are going to hire Ruby On Rails developers.

  1. What is the difference between a class and a module?
  2. What are the three levels to access control to methods for classes and what do they mean?
  3. What does “self” mean?
  4. Explain what singleton methods are. What is Eigenclass in Ruby?
  5. What is the difference between false and nil in Ruby?
  6. What is Asset Pipeline?
  7. Explain the “Active record” pattern.
  8. What is a Polymorphic Association in Rails?
  9. Explain the difference between optimistic and pessimistic locking in Rails?
  10. What does CSRF consist of? How does Rails protect an application against this security failure?
  11. How should we store insecure data such as passwords?
  12. Why do we need to use HTTPS instead of HTTP?

Let me know what you think about this questions and what others would you add.

Top comments (0)