search for: comandancia_id

Displaying 1 result from an estimated 1 matches for "comandancia_id".

2006 May 24
0
Problems validating form with collection_select
...pellido_paterno, :apellido_materno, :comandancia end In the view for New Elemento I''m using <%= start_form_tag :action => ''create'' %> <%= render :partial => ''form'' %> <%= collection_select(''elemento'', ''comandancia_id'', @comandancia, ''id'', ''nombre'')%> <%= submit_tag "Create" %> <%= end_form_tag %> When I create a New Elemento and provide values for all the required fields, everything is OK, the collection_select works just fine and stores t...