Skip to content

Commit f96929a

Browse files
committed
Add missing require to active_model/naming
Using `delegate` at L151 causes `NoMethodError`. Adding `require` resolves this.
1 parent 37fb99e commit f96929a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

activemodel/lib/active_model/naming.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
require "active_support/core_ext/hash/except"
44
require "active_support/core_ext/module/introspection"
55
require "active_support/core_ext/module/redefine_method"
6+
require "active_support/core_ext/module/delegation"
67

78
module ActiveModel
89
class Name

0 commit comments

Comments
 (0)