Professional Documents
Culture Documents
RUBY ON RAILS
Submitted by
PRABIN GUPTA - 131341
SUDHANSHU
- 131390
July 2016
Submitted in partial fulfillment for the award of the
degree
of
Bachelor of Technology
IN
COMPUTER SCIENCE AND ENGINEERING
Department of Computer Science & Engineering
JAYPEE UNIVERSITY OF ENGINEERING & TECHNOLOGY,
1
DECLARATION
We hereby declare that the work reported in the training report entitled as
Twitter Clone Using Rails Framework, in partial fulfillment for the
award of degree of Bachelor of Technology submitted at Jaypee University
of Engineering and Technology, Guna, and to IT Department, Webchamps,
MalikaGanj, New Delhi as part of curriculum as per best of our knowledge
and belief there is no infringement of intellectual property right, carried
within the premises of Webchamps IT Solutions, MalikaGanj, New Delhi.
CERTIFICATE
This is to certify that the work titled Twitter Clone Using Rails Framework
submitted by Prabin Gupta (131341) and Sudhanshu (131390) partial
fulfillment for the award of degree of B.Tech (Computer Science and Engineering)
of Jaypee University of Engineering & Technology, Guna and to IT Department,
Webchamps, MalikaGanj, New Delhi has been carried out under my supervision.
As per best of my knowledge and belief there is no infringement of intellectual
property right.
Tarun Agarwal
Director of Webchamps It Solutions
ACKNOWLEDGEMENT
We have taken efforts in this Training. However, it would not possible without the
kind support and help of many individuals and organization. We would like to
extend our sincere thanks to all of them. We are highly indebted to Mr. Tarun
Agarwal and Mr. Sonu for their guidance and constant supervision by going
through the training and making necessary corrections, as and when required for
completion of this training. We would like to express our gratitude towards our
parents for their co-operation and encouragement which helped us in completion of
this training.
Furthermore we would also like to acknowledge with much appreciation the
crucial role of the Webchamps IT Solutions, who gave the permission to use all
required resources to complete the training.
Date:
Table of contents
PAGE
I.
II.
III.
DECLARATION
CERTIFICATE
ACKNOWLEDGEMENT
II
III
IV
Guiding principles
MVC(Model-View-Controller architecture)
Overview
Installing Ruby
Installing Rails
To check routes
Active Record
Naming Convention
10
Create
10
Read
10
Update
11
Delete
11
Validations
11
Callbacks
12
Creating an Object
12
Updating an Object
12
Destroying an Object
13
Migrations
13
14
Devise
14
14
Getting started
15
16
Configuring Models
16
17
Active Admin
17
17
19
Screenshots
19
Home page
19
Signup page
19
20
20
21
21
22
Admin page
22
23
REFRENCES
24