Displaying 1 result from an estimated 1 matches for "r1739".
Did you mean:
1739
2005 Jul 06
1
collection_select not selecting the selected item
...ctionView::Helpers::InstanceTag#to_collection_select_tag. Except line
4 of this method is:
"select", add_blank_option(
options_from_collection_for_select(
collection, value_method, text_method, value),
options[:include_blank]), html_options
[split for readability; looking at r1739, line 306:
http://dev.rubyonrails.org/svn/rails/trunk/actionpack/lib/action_view/helpers/form_options_helper.rb]
I''m wondering where the "value" item is coming from... If I remember
correctly, that should invoke self.value in the context of the method,
but what value will be...