Displaying 1 result from an estimated 1 matches for "id_genre".
Did you mean:
id_geno
2006 Feb 08
2
trouble inserting rows
...terate over params hash
@params.each do |songs|
# iterate over song hash
songs.each do |song|
@a_song = Song.new (
:isactive => song[ :isactive ] ,
:id_artist => song[ :id_artist ] ,
:id_genre => song[ :id_genre ] ,
:id_record => song[ :id_record ] ,
:seq => song[ :seq ] ,
:title => song[ :title ] ,
:time_min => song[ :time_min ] ,
:time_sec => song[ :time_sec ]...