Displaying 2 results from an estimated 2 matches for "participant_name".
2007 Jun 25
0
storing data from database into array
...tially, right now I have a line in my code that goes like this:
@local_lines1 = Xmlfeed.find(:all, :conditions => ["id = ?", @id])
This is guaranteed to give me exactly one row from the database and as
such, am able to make a call like this:
@visiting_team = @local_lines1[0].parts[1].participant_name
where the xmlfeeds table and the parts table have been linked in a model
somewhere. I am able to just reference the zeroth element of the
@local_lines1 variable since I know that there is only 1 row that is
being selected from the database call.
But now I want to store all of the data from the...
2006 Jan 13
9
form_remote_tag breaks inside table
i guess its better form to keep form tags outside of table tags anyways,
but it took a lot of trial and error to figure out thats why @params
were no longer showing up after switching form_tag to form_remote_tag.
not sure if this is a prototype ''bug'' or ''feature'' or what. but my next
step was to switch to a seperate form tag for each row to reduce
needless