search for: gerardgnm

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

2006 Apr 22
2
selected value
I would like to pass the value selected in a select statement back so that I can use it in the controller, through using a remote_function call, and I cannot figure out what I am doing wrong: view rhtml: <select id="widgets_id" name="widgets[id]" onchange="<%= remote_function( :update => "parts", :url=> { :action => :loadParts } )
2006 Jun 01
6
real time search results
I am new to ruby and rails and am unsure how to accomplish the following: I''d like to have a page where the user enters a value in a form field and have results stream into a results div on the page. Additionally, I want to: - Not limit the result set - Allow user to get immediate feedback on what they have entered - Allow user to change field contents as results are appearing - Have
2006 Apr 06
6
select method
The documentation states as an example: select("post", "person_id", Person.find_all.collect {|p| [ p.name, p.id ] }, { :include_blank => true }) could become: <select name="post[person_id]"> <option></option> <option value="1" selected="selected">David</option> <option