mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Added missing AS require to active_model/naming.rb
We saw a failing spec when running the DataMapper ActiveModel compliance specs for dm-active_model. ActiveModel::Naming#model_name relies on the Module#parents method defined in active_support/core_ext/module/introspection.rb Adding the appropriate require statement of course fixed our specs.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
require 'active_support/inflector'
|
||||
require 'active_support/core_ext/hash/except'
|
||||
require 'active_support/core_ext/module/introspection'
|
||||
|
||||
module ActiveModel
|
||||
class Name < String
|
||||
|
||||
Reference in New Issue
Block a user