Rubocop gem update adds a check to ensure Strong Params expect is being used. @gorails.com have a great video explaining why this an important change gorails.com/episodes/how... #RubyOnRails #webdevelopment
gorails.comHow to use params.expect in Rails 8+ (Example) - GoRailsRails 8 introduces a new expect method for permitting parameters that fixes a few of the issues with require and permit. Let's take a look!
0 reposts1 like