Tutorial Ruby on Rails framework meaning is a server-side web application framework written in Ruby under the MIT License PDF Download guide and examples. Ruby is a high level computer programming language like Python, Perl. This is Object oriented language like Ada, Java, Smalltalk. Learning Ruby on Rails e- Book PDF free Download. Ruby is combination of −Smalltalk’s conceptual elegance, Python’s ease of use and learning, and Perl’s pragmatism.
Contents of Ruby on Rails Book PDF
Chapter 1: Getting started with Ruby on Rails
Remarks
Versions
Examples
Creating a Ruby on Rails Application
Create a new Rails app with your choice of database and including the RSpec Testing Tool
Generating A Controller
Generate a Resource with Scaffolds
Create a new Rails app with a non-standard database adapter
Creating Rails APIs in JSON
Installing Rails
Chapter 2: ActionCable
Remarks
Examples
[Basic] Server Side
[Basic] Client Side (Coffeescript)
app/assets/javascripts/channels/notifications.coffee
app/assets/javascripts/application.js # usually generated like this
app/assets/javascripts/cable.js # usually generated like this
User Authentication
Chapter 3: ActionController
Introduction
Examples
Output JSON instead of HTML
Controllers (Basic)
Parameters
Filtering parameters (Basic)
Redirecting
Using Views
404 when record not found
Basic REST Controller
Display error pages for exceptions
Filters
Generating a controller
Rescuing ActiveRecord::RecordNotFound with redirect_to
Chapter 4: ActionMailer
Introduction
Remarks
Examples
Basic Mailer
user_mailer.rb
user.rb
approved.html.erb
approved.text.erb
Generating a new mailer
Adding Attachments
ActionMailer Callbacks
Generate a Scheduled Newsletter
ActionMailer Interceptor
Chapter 5: Active Jobs
Examples
Introduction
Sample Job
Creating an Active Job via the generator
Chapter 6: Active Model Serializers
Introduction
Examples
Using a serializer
Chapter 7: ActiveJob
Examples
Create the Job
Enqueue the Job
Chapter 8: ActiveModel
Remarks
Examples
Using ActiveModel::Validations
Chapter 9: ActiveRecord
Examples
Creating a Model manually
Creating a Model via generator
Creating A Migration
Add/remove fields in existing tables
Create a table
Create a join table
Precedence
Introduction to Callbacks
Create a Join Table using Migrations
Manually Testing Your Models
Using a model instance to update a row
Chapter 10: Active Record Associations
Examples
belongs_to
has_one
has_many
Polymorphic association
The has_many :through association
The has_one :through association
The has_and_belongs_to_many association
Self-Referential Association
Continue to chapter 74
Download Ruby on Rails Book PDF free Download
Book Name : Learning Ruby on Rail
Publisher : Stack overflow contributors
Type : Free e-book
Subject : computer Language
Number of pages: 291
Language: English
Click for more pdf – click here