RUBY ON RAILS

RUBY ON RAILS TRAINING

RUBY ON RAILS TRAINING COURSE CONTENT


  1. What Is Ruby on Rails?
  • Introducing Ruby on Rails
  • Why use Ruby on Rails?
  • Understanding MVC architecture
  1. Installing Ruby on Rails on a Linux
  • Terminal and Unix setup
  • Ruby
  • RubyGems
  • Ruby on Rails
  • MySQL
  • Web server
  • Text editor
  1. Getting Started with Project
  • Creating a project
  • Introducing Bundler
  • Accessing a project
  • Generating a controller and view
  • File structure
  • Server request handling
  • Routes
  1. Controllers, Views, and Dynamic Content
  • Rendering templates
  • Redirecting actions
  • View templates
  • Instance variables
  • Links
  • URL parameters
  1. Databases and Migrations
  • Introducing databases
  • Creating a database
  • Configuring a project for a database
  • Rake
  • Introducing migrations
  • Generating migrations
  • Running migrations
  • Migration methods
  • Solving migration problems
  • Challenge: Migrations for the CMS
  1. Models, ActiveRecord, and ActiveRelation
  • Understanding ActiveRecord and ActiveRelation
  • Generating a model
  • Working in the Rails console
  • Creating records
  • Updating records
  • Deleting records
  • Finding records
  • Query methods: Conditions
  • Query methods: order, limit, and offset
  • Named scopes
  1. Associations
  • Relationship types
  • One-to-one associations
  • One-to-many associations
  • Many-to-many associations: Simple
  • Many-to-many associations: Rich
  • Traversing a rich association
  1. Controllers and CRUD
  • Basic CRUD
  • Read action: Index
  • Read action: Show
  • Form basics
  • Create action: New
  • Mass assignment and strong parameters
  • Create action: Create
  • Update actions: Edit/update
  • Delete actions: Delete/destroy
  • Flash hash
  • Challenge: Pages and sections CRUD
  1. Layouts, Partials, and View Helpers
  • Layouts
  • Partial templates
  • Text helpers
  • Number helpers
  • Date and time helpers
  • Custom helpers
  • Sanitize helpers
  1. Assets
  • Introducing the asset pipeline
  • Stylesheets
  • JavaScript
  • Images
  1. Forms
  • Form helpers
  • Form option helpers
  • Date and time form helpers
  • Form errors
  • Preventing cross-site request forgery
  1. Data Validation
  • Validation methods
  • Using validation methods
  • The validates method
  • Custom validations
  1. User Authentication
  • Introduction to authentication
  • Secure passwords
  • Login and logout
  • Cookies and sessions
  • Restricting access with before_action
  1. REST and RESTful Routes
  • What is REST?
  • REST HTTP verbs
  • RESTful routes
  • RESTful links and forms
  • Nested resources