Paginating collection


might be basic question but need help

def list
search_alpha = params[:starts_with]+’%’
@posts = Post.find( :all, :conditions => [ “title LIKE ?”,
search_alpha ] )
#@post_pages, @posts = paginate :posts, :per_page => 10

I want to paginate the @posts. The commented line dispaly all posts but
not quired posts.

Thank you.


dear sender,
i´m out of the office until may 29th.
your email will not be forwarded.
for urgent stuff please contact removed_email_address@domain.invalid
kind regards,


I got it.

Thank you.