Ruby On Rails interview questions – page 3

149 questions. Tap “Show answer” to check yourself.

Advertisement
  1. what is rake in Rails?

  2. what is the purpose of RJs in Rails?

  3. what is the command to create a migration?

  4. how you can run Rails application without creating databases?

  5. how you define Instance Variable, Global Variable and Class Variable in Ruby?

  6. what is the difference between the Observers and Callbacks in Ruby on Rails?

  7. how you can create a controller for subject?

  8. how can we define Ruby regular expressions?

  9. Explain about Dig, Float and Max?

  10. what is Rails Migration?

  11. what is the difference between calling super() and super call?

  12. what is the defined operator?

  13. Advertisement
  14. when self.up and self.down method is used?

  15. what is ORM (Object-Relationship-Model) in Rails?

  16. Explain how Rails implements Ajax?

  17. what is “Yield” in Ruby on Rails?

  18. what is Polymorphic Association in Ruby on Rails?

  19. what are the positive aspects of Rails?

  20. what is the naming convention in Rails?

  21. what is the difference between destroy and delete?

  22. What is the use of super in Ruby Rails?

  23. What is Rails?

  24. what is the difference in scope for these two variables: @@name and @name?

  25. What is rails router?

  26. Advertisement
  27. explain request/response cycle?

  28. What is rails scaffolding?

  29. what are some advantages of using ruby on rails?

  30. what is the difference between new, save and create?

  31. what are the differences between rails 2.x and rails 3?

  32. What I have to do to view my project always on browser?

Advertisement