Project

General

Profile

« Previous | Next » 

Revision 15c7ce27

Added by Dominic Cleal over 7 years ago

fixes #18214 - accept `params` as AC::Parameters or Hash

In Rails 5, ActionController::Parameters no longer inherits from Hash
and so type checks for params.is_a?(Hash) now return false and should
accept either. (Rails commit 14a3bd5.)

  • added
  • modified
  • copied
  • renamed
  • deleted