search for: demo_controller

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

2006 Mar 17
4
using ajax and layouts
...ied the layout-example from agile web dev. in rails. When I want to use ajax to create a search field including <head><%= javascript_include_tag "prototype" %></head> does''nt work when I include the line in my app/views/layout/demo.rhtml. Name of controller is demo_controller.rb. The search-field is in app/views/demo/observer.rthml and I have to include the above mentioned line in this file to "ajax-enable" the search-field. Should''nt it be possible to include it from a layout-file? regards Claus