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.

Resume Transcript Auto-Scroll
Skill Level Intermediate
1h 22m
Duration
35,891
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 My Free Month

Start your free month on LinkedIn Learning, which now features 100% of Lynda.com courses. Develop in-demand skills with access to thousands of expert-led courses on business, tech and creative topics.

Start My Free Month