Hi Mike,

Thank you for your input. Could you perhaps explain how to use them in
my context?
As you can see above, I tried to add a before_create_save method to my
Instance controller but it doesn't change anything. Because, when I
create a new course, course_id is not defined yet. I could generate a
random id and then replace it when the new course is actually saved,
or delete the Instance records if the user cancels the course creation
(assuming that they use the "Cancel" button). Another route might be
to use the habtm_with_deferred_save plugin; but that really looks like
a hack.

Thanks for any clue you can provide.

Christian.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to