To edit pages or tickets please login with username/password: aaf/aaf

Ticket #187 (closed defect: wontfix)

Opened 10 months ago

Last modified 8 months ago

"render :partial => search_results" doesn't work

Reported by: aaf Assigned to: jk
Priority: minor Milestone: 0.5
Component: 0plugin Version:
Keywords: Cc:

Description

search_results = Model.find_with_ferret(search)
render :partial => search_results

Doesn't work with Rails2. Maybe ActsAsFerret::SearchResults? has to be an Array..

Change History

12/16/07 20:48:15 changed by jk

  • priority changed from major to minor.
  • status changed from new to assigned.
  • milestone set to 0.5.

please use

render :partial => 'partial_name', :collection => search_results

in the meantime.

02/02/08 21:53:27 changed by jk

  • status changed from assigned to closed.
  • resolution set to wontfix.

Won't fix. Rails does explicit class name checks to determine what to do with the partial argument. anyway,

render :partial => 'partial_name', :collection => search_results

works and is more readable anyway, imho.

To edit pages or tickets please login with username/password: aaf/aaf