search for: post_contoller

Displaying 1 result from an estimated 1 matches for "post_contoller".

Did you mean: post_controller
2006 Jun 13
9
Find DB items by "title"
...; <%= end_form_tag %> That points to this action in my "post_controller.rb" def search @post = Post.find_all_by_title(params[:title]) end Which I think is assigning the @post variable with the results. But how exactly can I get them to display? I made a dummy action in the post_contoller.rb called "show_search" and a view called "show_search.rhtml" what''s the last step to get the results to display? -- Posted via http://www.ruby-forum.com/.