Displaying 1 result from an estimated 1 matches for "unifaceversion".
2006 Mar 23
1
Select not providing default option
...inter) but it isn''t being set as standard for some reason
(Nothing is).
The code is
Controller:
def edit
@area = Area.find(params[:id])
render :partial => ''edit''
end
View:
<%= select(''area'', ''uniface_version_id'', UnifaceVersion.find_all.collect
{|uv| [ uv.name, uv.id ] }, { :include_blank => true }) %>
(This was copied verbatim from the scaffold _form partial)
If anyone has any pointers that would be great.
Thanks
Jeff
--
Posted via http://www.ruby-forum.com/.