Useful Links
Computer Science
Programming
By Language
Ruby Programming Language
1. Introduction to Ruby
2. Ruby Syntax and Basic Concepts
3. Control Flow and Logic
4. Collections and Data Structures
5. Methods, Blocks, Procs, and Lambdas
6. Object-Oriented Programming (OOP) in Ruby
7. Advanced Ruby Concepts
8. The Ruby Ecosystem
9. Introduction to Ruby on Rails
Introduction to Ruby on Rails
What is Ruby on Rails?
History and Purpose
David Heinemeier Hansson
Web Application Framework
Convention over Configuration (CoC)
Don't Repeat Yourself (DRY)
Rails Philosophy
Programmer Happiness
Beautiful Code
Opinionated Software
The Model-View-Controller (MVC) Architecture
Overview of MVC
Separation of Concerns
Request-Response Cycle
Model (Active Record)
ORM Concepts
Database Abstraction
Database Migrations
Associations
Validations
View (Action View)
Embedded Ruby (ERB)
Template Rendering
Helpers
Partials
Controller (Action Controller)
Routing Requests
Controller Actions
Filters
Session Management
Core Components of Rails
Active Record (ORM)
Database Interactions
Query Interface
Callbacks
Action Pack (Controller and View)
Request Handling
Response Generation
Action Mailer
Email Generation
Email Delivery
Active Job
Background Processing
Job Queues
Action Cable (WebSockets)
Real-time Features
WebSocket Connections
Active Storage
File Uploads
Cloud Storage
Active Support
Core Extensions
Utility Classes
Getting Started with a Rails Application
Creating a New Rails Project (rails new)
Project Generation
Configuration Options
Database Selection
The Rails Directory Structure
app Directory
Models
Views
Controllers
Helpers
Assets
config Directory
Application Configuration
Routes
Database Configuration
db Directory
Migrations
Schema
Seeds
public Directory
Static Assets
Error Pages
test/spec Directory
Test Files
Test Configuration
lib Directory
vendor Directory
Starting the Rails Server
Development Server
Server Configuration
Environment Variables
The Rails Console
Interactive Environment
Model Interaction
Debugging
Generating Scaffolds and Resources
Code Generation
CRUD Operations
RESTful Routes
Running Migrations
Database Schema Changes
Migration Commands
Rollbacks
Basic Routing and Controllers
Route Definition
Controller Generation
Action Implementation
Parameter Handling
Previous
8. The Ruby Ecosystem
Go to top
Back to Start
1. Introduction to Ruby