THIS PLUGIN IS NOW DEPRECATED
The features provided by this plugin are now part of the Acts_as_indexed plugin it originally supported.
This plugin allows my acts_as_indexed indexed search plugin to interoperate with the will_paginate pagination plugin.
For this to work you’ll need the following two plugins…
./script/plugin install http://svn.douglasfshearer.com/rails/plugins/will_paginate_search
Follow through the instructions on setting up acts_as_search in the readme, and give the will_paginate readme a read over too.
Searching With Pagination
First argument is the search query (can be a GET variable or anything else), and after that it takes all the standard will_paginate arguments.
@images = Image.paginate_search 'girl', :page => 1, :per_page => 5
Problems, Comments, Suggestions?
All of the above are most welcome. email@example.com
If you find this plugin useful, please consider a “donation (Paypal) “:https://www.paypal.com/cgi-bin/webscr?cmd=xclick&business=dougal%2es%40gmail%2ecom&item_name=Douglas%20F%20Shearer&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&page_style=Primary&no_shipping=0&return=http%3a%2f%2fdouglasfshearer%2ecom&cancel_return=http%3a%2f%2fdouglasfshearer%2ecom&no_note=1&cn=I%20am%20donating%20because%2e%2e%2e&tax=0¤cycode=GBP&lc=GB&bn=PP%2dDonationsBF&charset=UTF%2d8 to show your support!