Skip to content
This repository
Browse code

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...
commit 2b97b8fb9e648aa866e42e8f386bf1bcee89e071 1 parent 657095d
Shane Hanna authored March 09, 2012

Showing 1 changed file with 1 addition and 0 deletions. Show diff stats Hide diff stats

  1. 1  activemodel/lib/active_model/naming.rb
1  activemodel/lib/active_model/naming.rb
@@ -2,6 +2,7 @@
2 2
 require 'active_support/core_ext/hash/except'
3 3
 require 'active_support/core_ext/module/introspection'
4 4
 require 'active_support/core_ext/module/deprecation'
  5
+require 'active_support/core_ext/object/blank'
5 6
 
6 7
 module ActiveModel
7 8
   class Name < String

0 notes on commit 2b97b8f

Please sign in to comment.
Something went wrong with that request. Please try again.