lib/rsolr-ext/model.rb in rsolr-ext-0.11.0 vs lib/rsolr-ext/model.rb in rsolr-ext-0.11.1
- old
+ new
@@ -32,16 +32,16 @@
def hooks
@hooks ||= []
end
end
-
+
#
- # Findable is a module that gets mixed into the SolrDocument class object.
+ # Findable is a module that gets mixed into the SolrDocument *class* object.
# These methods will be available through the class like: SolrDocument.find and SolrDocument.find_by_id
#
module Findable
-
+
attr_accessor :connection, :default_params
def connection
@connection ||= RSolr::Ext.connect
end
\ No newline at end of file