Browse files

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.
  • Loading branch information...
1 parent 657095d commit 2b97b8fb9e648aa866e42e8f386bf1bcee89e071 @shanna shanna committed Mar 9, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 activemodel/lib/active_model/naming.rb
1 activemodel/lib/active_model/naming.rb
@@ -2,6 +2,7 @@
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

0 comments on commit 2b97b8f

Please sign in to comment.