Hi John,
I was originally going to try and correct your code, but perhaps a
sample app is easier
Please download from http://www.authomedia.co.uk/dev/repairs.zip and
see how you get on. The models might not be quite what you have, but
it shows a simple RESTful controller setup with a HABTM join table and
AJAX create/destroy associations.
Hi John,
I was originally going to try and correct your code, but perhaps a
sample app is easier
Please download from http://www.authomedia.co.uk/dev/repairs.zip and
see how you get on. The models might not be quite what you have, but
it shows a simple RESTful controller setup with a HABTM join table and
AJAX create/destroy associations.
Should put you back on track
Joe
Ok, thrank you very much. I think this simple app will be very helpful
and will be the new base for my project. Anyway, does anybody know if I
can do something with my code? For now on, I only want to know it in
order to gain experience.