Hello everybody !
I’m building up an application which export ads to partners;
So I’ve a hbtm association between the 2 models ad and partner; on the
view side, the ad form contains several checkboxes (one per partner).
Well the validation of an ad depends on which partner is linked to it.
So i’d like to associate the validation error to each checkbox tag (to
cirle them in red in the form, when ad validation doesn’t pass).
Do you know when, (in which file?, how?) errors are handled when a form
is build ?
I can’t get information by myself when i need to understand rails
“inside” mechanisms, if one of you can provide me some links which
describe how rails is built, it would be really nice !!