lib/redistat/finder.rb in redistat-0.0.4 vs lib/redistat/finder.rb in redistat-0.0.5
- old
+ new
@@ -6,9 +6,13 @@
def initialize(options = {})
@options = options
end
+ def db
+ super(@options[:connection_ref])
+ end
+
def valid_options?
return true if !@options[:scope].blank? && !@options[:label].blank? && !@options[:from].blank? && !@options[:till].blank?
false
end
\ No newline at end of file