Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Ruby on Rails 6: Controllers and Views

via LinkedIn Learning

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn how to build smarter controllers and better looking webpages with Ruby on Rails 6.

Syllabus

Introduction
  • Smarter controllers and better looking webpages
  • What you should know
  • Using 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
  • Understanding CSRF protections
  • Challenge: Controllers
  • Solution: Controllers
2. Rendering Views
  • Avoid double render errors
  • More options for rendering content
  • Use layouts for shared templates
  • Capture content for later use
  • Challenge: Views
  • Solution: Views
3. Incorporating Assets
  • Add style sheets to view templates
  • Use static image assets
  • Use images as CSS backgrounds
  • About JavaScript in Ruby on Rails
  • Manage JavaScript with Webpacker
  • Configure asset pipeline for JavaScript
  • Manage JavaScript with asset pipeline
4. Work Faster with Helpers
  • Text helpers
  • Sanitization helpers
  • Number helpers
  • Date and time helpers
  • Form helpers
  • Custom helpers
  • Challenge: Helpers
  • Solution: Helpers
Conclusion
  • Next steps

Taught by

Kevin Skoglund

Reviews

5 rating at LinkedIn Learning based on 11 ratings

Start your review of Ruby on Rails 6: Controllers and Views

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.