diff --git a/lib/geocoder/orms/active_record.rb b/lib/geocoder/orms/active_record.rb
index c00f5ddc78b572b9fd1386773660bca050d6f04b..61efacdc80bc2b51c0fc6b7a0ac7d1df90a4f2a1 100644
--- a/lib/geocoder/orms/active_record.rb
+++ b/lib/geocoder/orms/active_record.rb
@@ -17,14 +17,14 @@ module Geocoder::Orm
       base.class_eval do
 
         # scope: geocoded objects
-        scope :geocoded,
-          :conditions => "#{geocoder_options[:latitude]} IS NOT NULL " +
-            "AND #{geocoder_options[:longitude]} IS NOT NULL"
+        scope :geocoded, lambda {
+          {:conditions => "#{geocoder_options[:latitude]} IS NOT NULL " +
+            "AND #{geocoder_options[:longitude]} IS NOT NULL"}}
 
         # scope: not-geocoded objects
-        scope :not_geocoded,
-          :conditions => "#{geocoder_options[:latitude]} IS NULL " +
-            "OR #{geocoder_options[:longitude]} IS NULL"
+        scope :not_geocoded, lambda {
+          {:conditions => "#{geocoder_options[:latitude]} IS NULL " +
+            "OR #{geocoder_options[:longitude]} IS NULL"}}
 
         ##
         # Find all objects within a radius (in miles) of the given location