search for: songcontrol

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

Did you mean: moncontrol
2006 Feb 08
2
trouble inserting rows
...ot; name="song[<%= file[ :seq ] %>][time_sec]" size="2" maxlength="2"> </input> ...then iterate over the hashes in order to write 1 row to mysql for each "inner" hash (i.e., each song, in this case 2 songs)... class SongController < ApplicationController scaffold :song def addsave # iterate over params hash @params.each do |songs| # iterate over song hash songs.each do |song| @a_song = Song.new ( :isactive => song[ :isactive ] ,...