Displaying 1 result from an estimated 1 matches for "publictopic".
Did you mean:
public_topic
2006 May 23
3
Pagination problem
...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 view
---------------
<%= error_messages_for ''public_topic'' %>
<label for="public...