From 2529793df4df2adb01673a295121607560bc44c3 Mon Sep 17 00:00:00 2001 From: nirupam090 <45711587+nirupam090@users.noreply.github.com> Date: Fri, 2 Oct 2020 14:29:07 +0530 Subject: [PATCH] Update README --- README | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/README b/README index a1db73c..a7ca0e8 100644 --- a/README +++ b/README @@ -1,20 +1,20 @@ -== Welcome to Rails +Hello and Welcome to Rails -Rails is a web-application and persistence framework that includes everything +Rails is a web-application and persistence framework that includes everything that is needed to create database-backed web-applications according to the -Model-View-Control pattern of separation. This pattern splits the view (also -called the presentation) into "dumb" templates that are primarily responsible +Model-View-Control pattern of separation. This pattern splits the view (presentation) +nto "dumb" templates that are primarily responsible for inserting pre-built data in between HTML tags. The model contains the -"smart" domain objects (such as Account, Product, Person, Post) that holds all +'smart' domain objects such as Account, Product, Person, Post, etc. that holds all the business logic and knows how to persist themselves to a database. The -controller handles the incoming requests (such as Save New Account, Update -Product, Show Post) by manipulating the model and directing data to the view. +controller handles the incoming requests such as Save New Account, Update +Product, Show Post, etc. by manipulating the model and directing data to the view. In Rails, the model is handled by what's called an object-relational mapping layer entitled Active Record. This layer allows you to present the data from database rows as objects and embellish these data objects with business logic methods. You can read more about Active Record in -link:files/vendor/rails/activerecord/README.html. +link :- files/vendor/rails/activerecord/README.html. The controller and view are handled by the Action Pack, which handles both layers by its two parts: Action View and Action Controller. These two layers @@ -22,10 +22,10 @@ are bundled in a single package due to their heavy interdependence. This is unlike the relationship between the Active Record and Action Pack that is much more separate. Each of these packages can be used independently outside of Rails. You can read more about Action Pack in -link:files/vendor/rails/actionpack/README.html. +link :- files/vendor/rails/actionpack/README.html. -== Getting Started +Getting Started 1. At the command prompt, start a new Rails application using the rails command and your application name. Ex: rails myapp @@ -35,7 +35,7 @@ link:files/vendor/rails/actionpack/README.html. 4. Follow the guidelines to start developing your application -== Web Servers +Web Servers By default, Rails will try to use Mongrel and lighttpd if they are installed, otherwise Rails will use WEBrick, the webserver that ships with Ruby. When you run script/server,