Displaying 1 result from an estimated 1 matches for "listtopics".
2006 May 23
3
Pagination problem
...e and the same page
reload again with the same data...
i hope this group will definetely help me to get rid of this simple
problem..
my view and the listing method is given below...
---------------------------------------
This is my controller/method
---------------------------------------
def listtopics
@public_topic_pages, @public_topics = paginate(:public_topics,
:per_page=>2)
@public_topics=PublicTopic.find_by_sql("select * from public_topics
where category=''" + params[:id] + "''" )
end
-----------------------------------------------
This is my v...