search for: kptp_wavxhyj

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

2012 Nov 02
1
custom validation method on nested model
I can''t get the field_with_errors div''s to wrap around nested fields in a fields_for block when using a custom validation method in the parent model. e.g. there needs to be at least one order detail record associated with an order. I add the error to the parent model errors hash however I can''t get the key to match the form field so that the wrapping div''s