lib/rails3_bridge.rb in rails3_bridge-0.1.0 vs lib/rails3_bridge.rb in rails3_bridge-0.1.1
- old
+ new
@@ -33,7 +33,12 @@
end
def self.having(arg)
self.scoped :having => arg
end
+
+ def self.named_scope(name, options={}, &block)
+ options = options.proxy_options if options.respond_to?(:proxy_options)
+ super(name, options, &block)
+ end
end
end