Ruby On Rails Classroom image

Neha  Jaggi / Professional / Web Technology

To post your Question Join Classroom
Lesson Topics's No:-  |1 | 2|Last
Lessons:- Planning the Application

Planning the Application

In this section, we’ll outline our plans for the demo application. As in Section 1.2.3, we’ll start by generating the application skeleton using the rails command:

cd   ̃/rails projects
$  rails new demo app
cd demo app


Next, we’ll use a text editor to update the Gemfile needed by Bundler with the contents of Listing 2.1.


Note that Listing 2.1 is identical to Listing 1.5 except for the addition of a gem needed in production at Heroku:

group  :production  do
     gem 'pg', '0.12.2'


The pg gem is needed to access PostgreSQL (‘‘post-gres-cue-ell’’), the database used byHeroku.

We then install and include the gems using the bundle install command:

bundle  install  --without  production


Neha  Jaggi

Skills    Ruby On Rails

Qualifications :- High School - , College/University - Graphic Era Hill University, Dehradun, College/University - ,
Location :-Dehradun,Dehradun,UTTARAKHAND,India

Experienced Software Developer with a demonstrated history of working in the Information Technology and services industry. Skilled in Web Technologies (Ruby on Rails, PostgreSQL, php, Laravel and AJAX). 


  Students (0)