search for: m000399

Displaying 6 results from an estimated 6 matches for "m000399".

2006 Jul 02
0
Problem with select, options_from_collection_for_select for selected items
...aving problems to make the selected works, i''ve been trying with select and options_from_collection_for_select. I''ve tried, :selected, :selected_key, :selected_value, and all i can got from the doc page ( http://rubyonrails.org/api/classes/ActionView/Helpers/FormOptionsHelper.html#M000399 ) and from wiki. Code: select(''informacao'', ''tipo_analise_id'', options, :selected => ''2'', :include_blank => true) Thanks, Rafael MVC -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails...
2006 Jul 13
1
what does the ''select(x,y,w) function/command do in Rails?
Hello there, I''m new with Ruby and I''m trying to develop a web app. I''m following an example from the book and they used ''select( )'' with three parameters...what exactly does ''select ( )'' do? I''m trying to have a scroll down button that will let me select one of the options. Is there another way to accomplish this? I
2006 Jul 20
4
drop down list
hello friends , can u pls tel me how to add drop down list in railsapplication -- Posted via http://www.ruby-forum.com/.
2006 May 30
4
Selectboxes and Rails
Hey was wondering how to setup a select box that when I call Model.new(params[:model]) it will automatically putit into the db... I tried <select name="home_bedrooms" id="home_bedrooms"> <option value="0">0</option> ... </select> then when I do @home = Home.new(params[:home]) that field doesnt insert into the db.. any ideas? -Ray
2005 Aug 17
5
asynchronous Ajax.Updater
I had one point in my project where I needed a synchronous Ajax call; in other words, I wanted the Ajax.Updater call to not return until the content of my page had been updated. However, I found that if you call Ajax.Updaterwith the {asynchronous: false} option, the onComplete() function would never be called and your content would not be updated. Was this the intended behavior? I added the
2005 Oct 17
7
Ajax.MultiUpdater ?
Hi, I''m using prototype within ruby on rails. One limitation I''d like to overcome is the restriction of beeing able to update just one html elements content using from_remote_tag or link_to_remote. AFAICS this is just a restriction of the form_remote_tag/link_to_remote implementation and it''s underlying Ajax.Updater class. Right? In theorie there should be no problem,