Displaying 1 result from an estimated 1 matches for "show_all_tags".
2006 Jun 21
7
acts_as_taggable and paginate?
...ggable plugin. The regular way of paginating over
a collection doesn''t seem to work with acts_as_taggable. Here''s what my
method looks like that takes in a tag name, finds all the members that share
the tag and then displays all the members. Nothing too fancy at the
moment...
def show_all_tags
tag_name = params[:id]
@tagged_members = Tag.find_by_name(tag_name).tagged
end
Doing the standard: @tagged_member_pages, @tagged_members = paginate
:member, :per_page => 12 displays ALL the members in the DB.
Has anyone conquered such an issue like this?
Thank you,
Dave Hoefler
---...