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? %> If second parameter is nil it raise an 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

