2012-04-08 41 views

回答

2

我不认为你可以使用state_select来做到这一点。你将不得不使用选择state_options_for_select功能,以输入您的选中状态:

<%= f.select :state, state_options_for_select(state_to_select, country_code) %> 

这应该让你那里。

相关问题