README.rdoc in supernova-0.3.13 vs README.rdoc in supernova-0.4.13
- old
+ new
@@ -1,15 +1,10 @@
= supernova
== Setup
- require "supernova"
- require "supernova/thinking_sphinx"
-
- class Offer
- include Supernova::ThinkingSphinx
- end
+ will come back soon!
=== Anonymous Scopes
scope = Offer.order("popularity desc").with(:city => "Hamburg").paginate(:page => 2, :per_page => 10)
@@ -22,11 +17,9 @@
scope.first or scope.last # all objects are loaded, only first or last in "page" is returned
=== Named Scopes
class Offer
- include Supernova::ThinkingSphinx
-
named_search_scope :popular do
order("popularity desc")
end
named_search_scope :for_artists do |ids|