# Ruby on Rails Interview Questions
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
Agile Development
?
What do you mean by - 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 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.
Helpers
?
What is functionality of 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.
Model
?
What things we can define within What is Asset Pipeline?
How parsing has been done from ERB file to HTML?
String
and Symbol
?
What is difference between - Necessary information about Strings and Symbols could be found there
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 difference between Contribution Guidelines
- The question must be unique
- Question must be related with Ruby/Rails
- A pull request must contain only single question
Ruby on Rails Interview Questions by Rishi Pithadiya is licensed under a Creative Commons Attribution 3.0 Unported License.