search for: index_number

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

2006 Jul 24
2
Newbie error message!
...;=>"no-cache"} This is my code (controller): def import_strings(a_string) table = { } IO.foreach(''#{a_string}'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 description = Description.new description.Index_Number = [$1] description.Name_Of_String = [$2] description.save end } This is my cod (view): <h1>Importing Strings<h1> <%= start_form_tag({:action => ''import_strings''}, :multipart => true)%> <p> <b>Lenguage:</b><br/>...