aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/lib/active_resource/validations.rb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-03-28 14:15:02 +0200
committerXavier Noria <fxn@hashref.com>2010-03-28 14:15:02 +0200
commit76f024ac8db82490a99c71d0d8951d677e3bc9bc (patch)
tree4fda85acd8a48e5a678c55cb894005fa1226ad54 /activeresource/lib/active_resource/validations.rb
parent105f9b8154bbee88b45e0bb9de949206cbc1ba02 (diff)
downloadrails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.gz
rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.bz2
rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.zip
adds missing requires for Object#blank? and Object#present?
Diffstat (limited to 'activeresource/lib/active_resource/validations.rb')
-rw-r--r--activeresource/lib/active_resource/validations.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activeresource/lib/active_resource/validations.rb b/activeresource/lib/active_resource/validations.rb
index 4774c6dd22..a19e0d0ac9 100644
--- a/activeresource/lib/active_resource/validations.rb
+++ b/activeresource/lib/active_resource/validations.rb
@@ -1,4 +1,5 @@
require 'active_support/core_ext/array/wrap'
+require 'active_support/core_ext/object/blank'
module ActiveResource
class ResourceInvalid < ClientError #:nodoc: