i am now closer to figuring out my problem.
when calling this…
call action ‘view’
@pages, @users = paginate_collection something.find_my_data(category),
:page => @params[:page]
the first page of the view is fine, but when i click on page 2, it says
that i have a nil object. i traced back and printed out to the screen
‘category’ in the application.rb file, and it turns out it goes NIL
after selecting the 2nd page!.. so how can this be fixed? for some
reason, this problem only ocurs when i need to pass a variable to my
paginate query object.
thanks for any help!