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:
snusnu
2010-10-29 19:44:45 +08:00
committed by José Valim
parent 6a3d6b7f13
commit 973b908777

View File

@@ -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