search for: stud_row

Displaying 1 result from an estimated 1 matches for "stud_row".

2006 Mar 05
0
Rails coding question
...id integer } create table evaluations { comments text } inherits (a) is it possible to transfer a row from table evaluations to table students without explicitly typing all the column names? For example, if we have a row from table evaluations called eval_row, and a row from students called stud_row, can we do... for column in Student.columns ???? = eval_row.send(column.name) end What would go in the ???? Thanks, John -- Posted via http://www.ruby-forum.com/.