search for: a_song

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

Did you mean: 1_song
2006 Feb 08
2
trouble inserting rows
...er" 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 ] , :id_artist => song[ :id_artist ] , :id_genre => song[ :id_genre ] , :id_record => song[ :id_record ] , :seq => song[ :seq ] ,...