From 2b97b8fb9e648aa866e42e8f386bf1bcee89e071 Mon Sep 17 00:00:00 2001 From: Shane Hanna Date: Fri, 9 Mar 2012 15:46:24 +1100 Subject: Added missing ActiveModel::Naming dependency. ActiveModel::Name constructor expects to be able to call #blank? on a String but the core Object#blank? extension is never required. --- activemodel/lib/active_model/naming.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/activemodel/lib/active_model/naming.rb b/activemodel/lib/active_model/naming.rb index 755e54efcd..fd0bc4e8e9 100644 --- a/activemodel/lib/active_model/naming.rb +++ b/activemodel/lib/active_model/naming.rb @@ -2,6 +2,7 @@ require 'active_support/inflector' require 'active_support/core_ext/hash/except' require 'active_support/core_ext/module/introspection' require 'active_support/core_ext/module/deprecation' +require 'active_support/core_ext/object/blank' module ActiveModel class Name < String -- cgit v1.2.3