• Technical IT

    Solutions delivered throughout the UK
  • Business Applications

    Solutions delivered throughout the UK
  • Professional Best Practice

    Solutions delivered throughout the UK
  • Professional Development

    Solutions delivered throughout the UK

Ruby on Rails 101 Yellow Belt

Ruby on Rails 101 Yellow Belt
  • Price £747.00
  • Level Introduction
  • Duration 3 day(s)
All major credit cards accepted

Description

This Ruby on Rails course explains how to use Ruby on Rails to create dynamic websites. After completing this training course you would be able to use Ruby on Rails on your projects.

This course covers a range of topics such as Rails framework, ActiveRecord, MVC, Building Database driven Ruby applications, creating a content management system (CMS), developing contact us forms, developing web forms and handling form data using Ruby on Rails and lots more.

Few practical Ruby on Rails based projects at the end of the course will ensure that you can apply Ruby on your website projects.

Prerequisites

This course is aimed at people who want to get into Ruby on Rails, and want to learn with one of the best instructors in the industry.

It is recommended that you have a least a little bit of experience in another programming language and/or web framework. You don’t have to know Ruby though, nor do you need any prior experience with Rails.

Assumed Knowledge

Delegates are required to have a solid knowledge of HTML. Additional knowledge of XML, SQL and any Server Side / Object Orientated programming

Skills

Delegates are required to have a solid knowledge of HTML. Additional knowledge of XML, SQL and any Server Side / Object Orientated programming Language would be an advantage.

On this course you will learn the basics of Ruby on Rails including:

  • Models, Views, and Controllers (MVC)
  • Data Structures & Relationships
  • Routing
  • Migrations
  • Views with forms, partials, and helpers
  • RESTful design
  • Using Rails plugins/gems

Course Content

The course will run through 5 iterations

Iteration 0: Up and Running

  • Setting the Stage
  • Project Tour
  • Configuring the Database
  • Starting the Server
  • Accessing the Server
  • Creating the Article Model
  • Working with the Database
  • Migrations
  • Modifying change
  • Timestamps
  • Running the Migration
  • Working with a Model in the Console
  • Looking at the Model
  • Setting up the Router
  • Looking at the Routing Table
  • Creating the Articles Controller
  • Defining the Index Action
  • Instance Variables
  • Creating the Template
  • Naming Templates
  • Index Template Content
  • Adding Navigation to the Index
  • Looking at the Routing Table
  • Completing the Article Links
  • New Article Link
  • Review the Results
  • Creating the SHOW Action
  • A Bit on Parameters
  • What is @article
  • Back to the Template
  • Styling

Iteration 1: Form-based Workflow

  • Creating the NEW Action and View
  • Starting the Template
  • Writing a Form
  • The create Action
  • Processing the Data
  • Understanding Form Parameters
  • Pulling Out Form Data
  • More Body
  • Fragile Controllers
  • Deleting Articles
  • REST is about Path and Verb
  • The destroy Action
  • Confirming Deletion
  • Creating an Edit Action and View
  • Adding the Edit Link
  • Implementing the edit Action
  • An Edit Form
  • Creating a Form Partial
  • Writing the Edit Template
  • Testing the Partial
  • Implementing Update
  • Adding a Flash
  • Flash for Update
  • Testing the Flash
  • Flash in the Layout
  • More Flash Testing
  • Adding More Messages

Iteration 2: Adding Comments

  • Designing the Comment Model
  • Setting up the Migration
  • Relationships
  • Testing in the Console
  • Displaying Comments for an Article
  • Web-Based Comment Creation
  • Building a Comment Form Partial
  • In the ArticlesController
  • Improving the Comment Form
  • Trying the Comment Form
  • Creating a Comments Controller
  • Writing CommentsController.create
  • After
  • Cleaning Up
  • Comments Count
  • Form Labels
  • Add a Timestamp to the Comment Display

Iteration 3: Tagging

  • Understanding the Relationship
  • Making Models
  • Expressing Relationships
  • An Interface for Tagging Articles
  • Testing in the Console
  • Listing Articles by Tag
  • Listing All Tags

Iteration 4: A few gems

  • Using the Gemfile
  • Setting up the Database for Paperclip
  • Adding to the Model
  • Modifying the Form Template
  • Trying it Out
  • Improving the Form
  • Further Notes about Paperclip
  • A Few Sass Examples
  • Working with Layouts

Iteration 5: Authentication

  • Installing Sorcery
  • Running the Generator
  • Creating a First Account
  • Logging In
  • Securing New Users
  • Securing the Rest of the Application

Make Enquiry

Course Enquiry
  •  
  •  

Book Now

Course Enquiry
  •  
  •  

Find your local training centre