search for: update_cont

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

Did you mean: update_conf
2009 Mar 04
6
render yield?!
...39;ve got a little problem with remote functions. I call it for example like this: <%= link_to_remote ''bla'', :url => ''bla/whatever'', :method => :get %> that function would be: def whatever flash[:notice] = "You''re in whatever!" update_content end since I don''t want the page to be reloaded completely, I update each div box that needs to be updated: def update_content render :update do |page| page.replace ''loginBox'', :partial => ''shared/login'' page.replace ''contentBox&...