Skip navigation

Changes to parameters

Changes to parameters: Ruby on Rails 5 New Features
Changes to parameters: Ruby on Rails 5 New Features

The are important changes to the strong parameters code in Ruby on Rails 5. Parameters no longer inherit from HashWithIndifferentAccess, instead they are a standalone Parameters class. Developers can still set and get values like a hash, but methods such as slice, except, extract, select, reject, and merge no longer allow access to the values unless the values have been permitted or unless the object is converted to a simple hash using the #to_unsafe_h method.

  • Overview
  • Transcript
  • View Offline
Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 21m
Duration
21,398
Views
Show More Show Less
Skills covered in this course
Developer Web Web Development Ruby on Rails

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now