[Rails] Re: [ANN] Rails 3.2.8 has been released!
Hi!
In 3.2.7 this code was possible if 'auto_models_for_select' is nil :
<%= select_tag :model, auto_models_for_select, :include_blank => true,
:disabled => auto_models_for_select.nil? %>
In 3.2.8 this should be :
<%= select_tag :model, auto_models_for_select || '', :include_blank =>
true, :disabled => auto_models_for_select.nil? %>
Second parameter nil raise exception.
Please, return back that it was possible to transfer nil of second
parameter - options.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home