Displaying 6 results from an estimated 6 matches for "array_of_lenguages".
2006 Jul 24
2
Newbie error message!
...scription.save
end
}
This is my cod (view):
<h1>Importing Strings<h1>
<%= start_form_tag({:action => ''import_strings''}, :multipart => true)%>
<p>
<b>Lenguage:</b><br/>
<%= select("variable", nil, @array_of_lenguages) %>
</p>
<p>
<b>Path: </b><br />
<%= file_field "description", "description"%>
</p>
<p><%= submit_tag "Import"%></p>
<%= end_form_tag%>
--
Posted via http://www.rub...
2006 Jul 25
1
newbie--how do i load a parsed file?
...<h1>Importing Strings<h1>
<%=error_messages_for("description")%>
<%= start_form_tag({:action => ''save''}, :multipart => true)%>
<p>
<b>Lenguage:</b><br/>
<%= select("variable", nil, @array_of_lenguages) %>
</p>
<p>
<b>Path: </b><br />
<%= file_field ("description", "description"
)%>
</p>
<p><%= submit_tag "Import"%></p>
<%= end_form_tag%>
I only get the actu...
2006 Jul 28
0
newbie----what''s wrong with my code
...<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: </b><br />
<%= file_field ("string_record", "import_strings" )%>
</p>
<p><%= submit_tag "Import"%></p>
<%= end_form_tag%>
my save method in my c...
2006 Jul 21
1
Newbie Question about Ruby on rails---cant upload data
...tle"]
p table
end
I have my view app. in views:
<h1>Importing Strings<h1>
<%= start_form_tag({:action => ''create''}, :multipart => true)%>
<p>
<b>Lenguage:</b><br/>
<%= select("variable", nil, @array_of_lenguages) %>
</p>
<p>
<b>Path: </b><br />
<%= file_field "description", "description"%>
</p>
<p><%= submit_tag "Import"%></p>
<%= end_form_tag%>
My view asks for the path of...
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
2006 Jul 31
10
nothing uploads.....why? (newbie question)
...w:
h1>Importing Strings<h1>
<%=error_messages_for("StringRecord")%>
<%= start_form_tag({:action => ''create''}, :multipart => true)%>
<p>
<b>Lenguage:</b><br/>
<%= select("variable", nil, @array_of_lenguages) %>
</p>
<p>
<b>Path: </b><br />
<%= file_field ("StringRecord", "" )%>
</p>
<p><%= submit_tag "Import"%></p>
<%= end_form_tag%>
model:
class StringRecord < Act...