YoVDO

Ruby on Rails Controllers and Views

Offered By: LinkedIn Learning

Tags

Web Development Courses Ruby on Rails Courses Cookies Courses

Course Description

Overview

Learn how to build smarter controllers and better looking web pages with Ruby on Rails.

Syllabus

Introduction
  • Smarter controllers and better-looking webpages
  • What you should know
  • Use the exercise files GitHub repository
1. Useful Controller Features
  • Store data in cookies
  • Store data in sessions
  • Messaging with the flash hash
  • Log information to a file
  • Inherit common behaviors with ApplicationController
  • Use filters to call methods automatically
2. Rendering Views
  • Avoid double render errors
  • More options for rendering content
  • Use layouts for shared templates
  • Capture content for later use
3. Incorporating Assets
  • Add stylesheets to view templates
  • Use static image assets
  • Use images as CSS backgrounds
4. Work Faster with Helpers
  • Text helpers
  • Sanitization helpers
  • Number helpers
  • Date and time helpers
  • Form helpers
  • Custom helpers
Conclusion
  • Next steps

Taught by

Kevin Skoglund

Related Courses

Web Application Architectures
University of New Mexico via Coursera
Full Stack Foundations
Udacity
Rails with Active Record and Action Pack
Johns Hopkins University via Coursera
Ruby on Rails: An Introduction
Johns Hopkins University via Coursera
Ruby on Rails Web Services and Integration with MongoDB
Johns Hopkins University via Coursera