search for: string_record

Displaying 2 results from an estimated 2 matches for "string_record".

2006 Jul 28
0
newbie----what''s wrong with my code
...ve been kind of confused with how rails manages all the details. I want to store the key-values in different columns on my database so that when I enter a eky, it gies me the corresponding value. this is what i have: my view: <h1>Importing Strings<h1> <%=error_messages_for("string_record")%> <%= start_form_tag({:action => ''save''}, :multipart => true)%> <p> <b>Lenguage:</b><br/> <%= select("variable", nil, @array_of_lenguages) %> </p> <p> <b>Path: </...
2006 Jul 27
7
Newbie question---
I wrote a ruby script that parses a file into key-values like so: class Parser table = { } IO.foreach(''Localizable.strings'') { |line| if line =~ /^ \s* " (.*?) " \s* = \s* " (.*?) "/x table[ $1 ] = $2 end } end I want to store the key-values in different colums on my database so that when I enter a key, it gives me the corresponding value...how