Top Ruby on Rails Interview Questions :: ALLInterview.com http://www.allinterview.com Top Ruby on Rails Interview Questions en-us difference between form_for and form_tag http://www.allinterview.com/showanswers/76310.html form_for and form_tag both are used to submit the form in ruby on rails. but the way of handling objects related to model is different. form_for: you should use form_for for a specific model i.e while crating an new row in database. f Why do we use request.xhr? in rails http://www.allinterview.com/showanswers/70920.html request.xhr? indicates the controller has received an ajax request. It returns true or false what the difference between static scaffolding and Dynamic scaffoldi http://www.allinterview.com/showanswers/69691.html Hi, Static scaffolding is present in rails 1.0 version with the comand "ruby script/server geterate scaffold Product Admin". Here, Product is model and Admin is controller.So it (Rails 1.0)automatically generates the table column d Why RubyonRails? http://www.allinterview.com/showanswers/60109.html 1. Convention over configuration. 2. DRY concept. 3. Code is less. 4. Easy to Learn. Whats the difference between symbol and string? http://www.allinterview.com/showanswers/68943.html Symbol refers to the same memory location where string generates a new id every time for eg. STRING irb(main):019:0> "ruby".object_id => 24095860 irb(main):020:0> "ruby".object_id => 24092310 irb(main):021:0&g what is session and cookies http://www.allinterview.com/showanswers/60915.html Session are used to store information about user on server side .Whereas cookies are used on client side I would like to know about ruby on rails.I want to know.how will be t http://www.allinterview.com/showanswers/77883.html see ! Ruby on Rails is the most happening technology in near future.basically Rails is a framework which is written in Ruby and the things which attracts me more towards RoR are Full Stacked rails framework,MVC,DRY. How are Model views and controllers related? http://www.allinterview.com/showanswers/87389.html Model, View and Controller(MVC) is 3 tier architecture. view consits all HTML, javscript pages. its client side template. while as Model connects to Database describing all data fields and the relation between then and all business calculations What are filters? and how many types of filters are there in ruby http://www.allinterview.com/showanswers/87384.html basically filters are used to run some code or skip some code before executing particular action.It is used in controller.say we want to check authenticity before we executing some action or skip checking authenticity before some action which au What is the difference between sessions and flash? http://www.allinterview.com/showanswers/87386.html Session is for the application i.e If user logs in the session will be applied for the user. Flash is valid from one request to other i.e if the page is redirected from one page to other,its valid in within this request. What is the functionality of Model views and controllers http://www.allinterview.com/showanswers/87388.html Model:Model is responsible for maintaining the database. views:View is responsible for generating user interface. controllers:Getting input request from browser and generate outgoing response. let me know what is ruby software and where and when it is usefull. http://www.allinterview.com/showanswers/81743.html Ruby is Dynamic object oriented programming language . we can use it for any application like java, or we can use it for web programming language Is Ruby is a Scripting Language or Compiled Language? http://www.allinterview.com/showanswers/97920.html In general, programming languages fall into one of two categories: they're either compiled languages or scripting languages. Let's explore what each of those terms means, and understand the differences between them. Compiled Languages What is the architecture of Model views and controllers http://www.allinterview.com/showanswers/87387.html