search for: topic_controller

Displaying 3 results from an estimated 3 matches for "topic_controller".

2005 Dec 20
1
Model method_missing error (rforum)
...g to get rforum working. I pulled it from the subversion repository. Everything works fine until I attempt to make a post. I get the following error. c:/apps/ruby/lib/ruby/gems/1.8/gems/activerecord-1.13.2/lib/active_record/base.rb:1498:in `method_missing'' #{RAILS_ROOT}/app/controllers/topic_controller.rb:80:in `new'' c:/apps/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `send'' c:/apps/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters''The code in topic_controller def...
2005 Dec 18
1
problems with text_field_with_autocomplete
..._auto_complete :topic, :dr_title, {}, :skip_style => true %><br/> Here''s the handler, it''s just faked up for now. I don''t care about the actual search at this point, just want to show that the partial rendering is not working: file: app/controllers/topic_controller.rb: def auto_complete_for_topic_dr_title handle_autocompletion (params[:topic][:dr_title]) end def tester handle_autocompletion(params[:id]) end private def handle_autocompletion (value) puts "VALUE = #{value}" @results = [] thing = {"foo&quo...
2006 Jun 15
3
Need help creating a clever route
What I want to do is wrap all the scaffolded administrated pages for my webapp into an admin folder in the controllers and views folders. So... /app /controllers /admin issue_controller.rb article_controller.rb topic_controller.rb ... etc. ... /views /admin /issue _form.rhtml edit.rhtml list.rhtml new.rhtml show.rhtml /article /topic ... etc. ... My question is how do I set up a good, clean route that can accomodate this? I''ve tried a...