fields_for :index problem #3

laurynas opened this Issue Oct 28, 2009 · 0 comments


None yet

1 participant


I have a problem passing custom :index to fields_for, like
<%= f.fields_for :item, item, :index => 'someindex' do |fields| %>
for all fields it works fine except calendar_date_select

If I pass :index to calendar_date_select it works fine:
<%= fields.calendar_date_select :date, :index => 'someindex' %>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment