search for: identities_box

Displaying 2 results from an estimated 2 matches for "identities_box".

2006 Mar 05
1
access methods defined in helper
...helper.rb: module IdBrowserHelper def table_identities(message) render_text message end end ___________________________________________ Controller id_browser_controller.rb: class IdBrowserController < ApplicationController def view_genre() table_identities(''identities_box'') end end ____________________________________________ This is the error message I get: NoMethodError in Id_browser#view_genre undefined method `table_identities'' for #<IdBrowserController:0x385add0> What should I do? i have tried to require the helper file in the con...
2006 Mar 05
2
AJAX call chain and DRY questions
...lt;% @genre %> <%= start_form_tag :action => ''index'' %> <div id="genre_id_box"> <%=select(:genre, :id, @genres2)%> </div> <%= end_form_tag %> <%= observe_field("genre[id]", :frequency => 0.25, :update => "identities_box", :url => { :action => :view_genre }, :with => "''genre_id=''+value") %> <h1>Identiteter</h1> <div id="identities_box"> <table> <tr> <td>Namn</td> <td>Beskrivning</td> &lt...