aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorShane Hanna <shane.hanna@gmail.com>2012-03-09 15:46:24 +1100
committerShane Hanna <shane.hanna@gmail.com>2012-03-09 15:46:24 +1100
commit2b97b8fb9e648aa866e42e8f386bf1bcee89e071 (patch)
tree17932058eac661032d68bc89b72db1a606b2fc29 /activemodel
parent657095d8bbec51999d66b379245e8d3466ee27af (diff)
downloadrails-2b97b8fb9e648aa866e42e8f386bf1bcee89e071.tar.gz
rails-2b97b8fb9e648aa866e42e8f386bf1bcee89e071.tar.bz2
rails-2b97b8fb9e648aa866e42e8f386bf1bcee89e071.zip
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.
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/naming.rb1
1 files changed, 1 insertions, 0 deletions
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