Select box 4 Tables

5 views
Skip to first unread message

Marco Gergen

unread,
Jun 25, 2013, 10:35:09 AM6/25/13
to rubyonra...@googlegroups.com
Hello and sry for my english.

I have no idea what can i do with my problem. I hope everybody can help
me.

I have 4 Tables.

Table A
a_id

Table B
b_id
a_id
c_id

Table C
c_id
d_id

Table D
d_id

whit the table-association A 1--n B n--1 C n--1 D

In my View i have a f.select for the association A-B-C.

The Problem is that i have in the selectbox double-data and i need one
more selectbox for the association C--D in the same View. Like this
http://webkrauts.de/wp-content/uploads/2007/05/forms-select-ff-01.png

I have search for the answer but i can find a solution for my problem.

Thank you very very very much.

--
Posted via http://www.ruby-forum.com/.
Reply all
Reply to author
Forward
0 new messages