Ruby On Rails Interview Questions

Here are few of the interview questions which have been recently asked by companies

  1. What is the difference between Ruby Select and Detect?
  2. What is the difference between Ruby strings declared with  single quotes and the one declared with double quotes?
  3. What is the difference between Classes and Modules?
  4. What are different types of associations in rails?
  5. What is the difference between Has Many Belongs To association and Has Many Through association?
  6. Explain MVC architecture?
  7. What are Active records?
  8. What is the difference between Collection Routes and Member Routes?
  9. What is the Purpose of declaring resources in Routes file?
  10. How we can skip any of the action declared by resources in routes file?
  11. What is the purpose of Helpers?
  12. How we can Apply DRY technique to our controllers?

Keep watching this space for more questions.

HAPPY CODING 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s