search for: post_help

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

Did you mean: popthelp
2006 Jul 14
0
acts_as_nested_set and acts_as_threaded
...b:18:in `list'' Line 18 in post_controller.rb shows: [post_controller.rb] def list display_threads @posts <= line 18 @post_pages, @posts = paginate :posts, :per_page => 10, :order => "root_id desc, lft" end The display_threads method is defined in: [post_helper.rb] module PostHelper def display_threads (threads) (snipped) end end My understanding is that Helper code is merged with Controller code. I wonder then why Rails can''t find the method display_threads. Thanks for your help. gk -- Posted via http://www.ruby-forum.com/.