Skip to content

Commit

Permalink
Merge branch 'master' into rails3
Browse files Browse the repository at this point in the history
Conflicts:
	HISTORY
	README.textile
  • Loading branch information
pat committed Sep 10, 2011
2 parents 58f4807 + 3e2eff8 commit 2a7b885
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions HISTORY
@@ -1,4 +1,5 @@
Edge:
* Adding ThinkingSphinx::Search#last_page? for Kaminari (Pete Deffendol).
* Ensuring associations for acts-as-taggable-on are tweaked for Rails 3.1 (Anthony).
* Bug fix for association collection proxies in Rails 3.1 (Pavel Forkert).
* References all known Rails model paths - better for Rails 3 Engines.
Expand Down
1 change: 1 addition & 0 deletions README.textile
Expand Up @@ -221,3 +221,4 @@ Since I first released this library, there's been quite a few people who have su
* Aaron Gibralter
* Pavel Forkert
* Anthony Byram
* Pete Deffendol
4 changes: 4 additions & 0 deletions lib/thinking_sphinx/search.rb
Expand Up @@ -224,6 +224,10 @@ def next_page
def next_page?
!next_page.nil?
end

def last_page?
next_page.nil?
end

# The previous page number of the result set. If this is the first page,
# then nil is returned.
Expand Down

0 comments on commit 2a7b885

Please sign in to comment.