> @licenses = License.scoped(:conditions => ["id IN (?)", result])
> render :index

Some options:

1. If #index and #router views are the same, symlink them, and use hobo_index.

2. Add

     view_hints.paginate? false

   into your model class.

3. Call paginate in the controller action:

     @licenses = License.where("id IN (?)", result).paginate(:page => 
(params[:page] || 1))

   # you may want to add other will_paginate options.

-----
Tomoaki Hayasaka <[email protected]>

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to