Forum: Ruby setting form values in rails?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
10b177b2e2d7e83382d2f1af827651e3?d=identicon&s=25 red (Guest)
on 2007-02-14 20:21
(Received via mailing list)
hi!

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

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