Forum: Ruby setting form values in rails?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
red (Guest)
on 2007-02-14 21:21
(Received via mailing list)

i'm trying to build some stuff with RoR again and now got a little
problem and i hope someone can help me.

i've got the models securities, events ans allocations. there are
many_to_many relations between securities,events and allocations with i
made according to the rails recipes book (securities and events are
connected through the allocations with contains some extra data). now i
want to have a link in the events-listing that will redirect me to the
allocations-new where i'll just select the security and fill in the
extra data. now i can't fidure out how to pass the event_id to the form
and get error since the event_id must be set.

also it would be cool if i could set several allocations for one event
at the same time.

please help! - thanks

bernd forstner / red667
This topic is locked and can not be replied to.