Awesome
<h3 align="center">Ruby on Rails Interview Questions! :tada:</h3> <p align="center"> <img src="https://img.shields.io/badge/License-MIT-green.svg"> <a href="https://github.com/ellerbrock/open-source-badges/"> <img src="https://badges.frapsoft.com/os/v1/open-source.png?v=103"> </a> <a href="https://saythanks.io/to/rishiip" target="_blank"> <img src="https://img.shields.io/badge/SayThanks.io-%E2%98%BC-1EAEDB.svg"> </a> </p>What are the advantages of using Ruby on Rails in Web Development?
What are the disadvantages of using Ruby on Rails in Web Development?
- A nice answer from StackExchange
What do you mean by Agile Development
?
- A good page on WikiPedia
- A good explaination on TutotialsPoint
Explain MVC in terms of Rails.
- A good explaination on TutotialsPoint
What are different components of Ruby on Rails?
Give list of frameworks which is similar to Rails.
What makes Ruby different from other programming languages?
What do you mean by Meta Programming?
Explain how everything is an object in Ruby.
How could you explain the Ruby OOP model?
Give difference between last 3 versions of Rails.
What's the major improvements in Rails 5.0?
- A good article from Site Point
- Another good blog post from [Michelada] (http://blog.michelada.io/whats-new-in-rails-5)
What do you mean by ORM?
What is the difference between eager and lazy loading in rails?
- A good explanation can be found from [spritle.com] (https://www.spritle.com/blogs/2011/03/17/eager-loading-and-lazy-loading-in-rails-activerecord/
What is Self-Referential Association aka Self Join?
- A good explanation from [Rails Casts] (http://railscasts.com/episodes/163-self-referential-association)
List down types of associations in Rails.
What is functionality of Helpers
?
Explain eagerloading.
- A good article with types of preloading [eagerloading] (http://blog.arkency.com/2013/12/rails4-preloading)
What are your favourite Gems?
Define block, proc and lambda and give difference between them.
What is ActiveRecord?
Explain Active Record Callbacks.
- A good explanation from [Ruby on Rails Guides] (http://guides.rubyonrails.org/active_record_callbacks.html)
Explain Filters.
Define resource, resources, collection and namespace in terms of routes.
List down servers supported by Rails.
What things we can define within Model
?
What is Asset Pipeline?
How parsing has been done from ERB file to HTML?
What is difference between String
and Symbol
?
- Necessary information about Strings and Symbols could be found there
What is difference between Render
and Redirect
?
What is difference between Gems
and Plugins
?
What is difference between Gemfile
and Gemfile.lock
?
What is difference between save
and save!
What is difference between find
and find_by_xxx
method?
What is difference between includes
and extends
?
What is difference between form_for
and form_tag
?
What is difference between TDD
and BDD
?
What is difference between Application Server
and Web Server
?
What is difference between ==
, ===
, eql?
and equal?
?
What is single table inheritance(STI) in Rails?
- Necessary information could be found here
What is polymorphic associations in Rails? How it is differ from single table inheritance?
- Necessary information could be found here
What will be printed after running the code here?
- Awswer of the above question is here
Lets say you have a controller method that you want to access from view. How will you do that?
Contribution Guidelines
- The question must be unique
- Question must be related with Ruby/Rails
- A pull request must contain only single question
If you like this repository, don't forget to star it using star button available at top right like following -
<img src="img/star.png" width="100"><a rel="license" href="http://creativecommons.org/licenses/by/3.0/deed.en_US"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a><br/><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Ruby on Rails Interview Questions</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/rishiip/rails-interview-questions" property="cc:attributionName" rel="cc:attributionURL">Rishi Pithadiya</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/deed.en_US">Creative Commons Attribution 3.0 Unported License</a>.