mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Require hash/keys inside active_model/callbacks
This file uses assert_valid_keys but it was not being required. You can reproduce this error with a script that uses this feature by using those requires: require 'active_model' require 'active_model/callbacks'
This commit is contained in:
parent
ade479f2b5
commit
80873a49af
1 changed files with 1 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "active_support/core_ext/array/extract_options"
|
||||
require "active_support/core_ext/hash/keys"
|
||||
|
||||
module ActiveModel
|
||||
# == Active \Model \Callbacks
|
||||
|
|
Loading…
Reference in a new issue