Trevor,
Got back to working on my mods recently, and am running into a problem that makes me think I'm having some sort of problem understanding Rails. I've been just trying to do a simple filter on results. I tried creating a view which was basically just a copy of posts/show.html.erb, as named in the sample code below. As you see, I just want to limit results to records with a specific 'id' and 'reference_id,' a new field in posts, but I only get one record showing up, the one with the matching 'post_id'. I've also tried rendering 'topics/show', and all the records in posts show up there. I've also tried using just a post.find in place of post.paginate, unsuccessfully
What am I missing in my approach here?
Sample:
def filter_proc
@posts = Post.paginate(:page => params[:page], :conditions => reference_id = params[:post_id] || id = params[:post_id])
render :template => 'posts/filter_proc'
end