![]() ![]() The four important characteristics or features of Object-Oriented programming language ![]() List the features of Object-Oriented Programming language?Īns. Rake db: reset drops the database and loads the schema with and load the schema with rake db:scheme: load and after that it seeds the data by using Rake lets us write the tasks in RUBY and execute them upon a command line. A rake is a native tool used in ruby, the rake is very similar to make in Unix rake is utilised to handle administrative tasks or commands these are stores either on a rake file or within a. There are eight basic types of migrationsĪns. Benefits of using rails migration areĪns. What are the benefits of using rails Migration?Īns. These are sprint-based systems like PHP, ASP, JSP and quite simple to integrate with AJAX technology.Ĭontroller: an action controller is fluency in the application that manages the traffic, querying the models for particular data and on the other hand it also sorts, searches and messages the data into a specific form that suits the requirements of an assigned view. View: an action view is a presentation of data in a specific format triggered through a controller determination to impersonate the data. Model: an active record which maintains the relations among database and objects and Model also handles transactions, validation, association and so on. MVC framework in ruby on rails breaks the work into three separate yet cooperative subsystems the MVC is abbreviated as Model View Controller ORM is abbreviated as Object Relational Mapper when you are using ORM there is no need to call the database manually, ORM implies an active record that retrieves the data that is stored within the database by using columns and rows for example if you want to retrieve the data of all the students then instead of writing code to connect the database and then writing the SQL query like SELECT * FROM students and then obtaining the result within an array you can simply write students.all and this active record gives all the student information that I want to know. Embedded ruby lets you keep the ruby codes within the HTML file, embedded ruby checks every line, and at a point when the ERB came across the ruby code which is embedded in the document, it begins executing the code. Embedded ruby is prepared in the backend before sending a request to the web browser. Rails provide us with three environments they are:Īns. NET demands you to write a lengthy configuration code but rails never demand or need much configuration code.Īns. Convention over configuration many web development frameworks like Java or.Scaffolding developer frequently develops a temporary code in the initial stages of development, and this helps to develop the application quickly and check how the important components are working together.Active record is a framework which stores objects in the database this rails active record finds the columns within the database schema and automatically blends them with the domain objects with metaprogramming.Ruby threads are assumed within the VM preferably than operating as primary Operating System threads. Threading model Ruby does not practice primary threads. Performance issues though it resembles Python and Perl, Ruby is, however, a paraphrased language also we should not resemble it among high-level programming languages like C++ or C. There are two main disadvantages to using ruby. What are the disadvantages of using Ruby?Īns. Therefore, ruby on rails is deserving of acquiring the knowledge on ROR(Ruby On Rails). And we must not ignore that Ruby On Rails(ROR) contains extensive gems which several modern technologies do not possess. If you obtain complete advantage of Ruby on Rails, you will be capable of developing complex applications in very less time. We can just configure our code with the database schema. Rail is an extremely productive framework of the web-application rail written in ruby, and we can develop web applications very much faster with rails when we are using rails there is no need of compilation. Ruby is a high-level programming language like Perl and python, and ruby is also an object-oriented programming language like Smalltalk, Java and ADA in simple words ruby is a blend of conceptual elegance of Smalltalk, ease of python and pragmatism of Perl. Ruby On Rails Interview Questions and Answers 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |