We keep getting Input/Output errors on various views. We’re running
Webrick in production mode.
The errors look like the following:
A ActionView::TemplateError occurred in profile#financial:
Input/output error
On line #215 of app/views/profile/financial.rhtml
212: <script type="text/javascript">
213: UpdateTotal("profile_FinancialOther");
214: </script>
215: <%= field_text ("When will you be available to relocate?",
“profile”, “Relocate”, :maxlength => 50, :size => 40) %>
216:
217:
#{RAILS_ROOT}/app/views/profile/financial.rhtml:215:in `write’
Any ideas?
215: <%= field_text ("When will you be available to relocate?",
“profile”, “Relocate”, :maxlength => 50, :size => 40) %>
Can you post the code for the field_text method?
Aaron
Aaron wrote:
215: <%= field_text ("When will you be available to relocate?",
“profile”, “Relocate”, :maxlength => 50, :size => 40) %>
Can you post the code for the field_text method?
Aaron
Here is the code, although this is happening all over the place…I
don’t think it has to do with this code specifically:
def field_text (pLabel, pTable, pColumn, pAttributes)
pAttributes.store( :autocomplete, “off” )
output = “
”
output += text_field(pTable, pColumn, pAttributes)
output += “<div id=“validDiv_#{pColumn}” style=“display:
none;”> <img
src=”/images/exclamation_small_onwhite.gif" align=“absmiddle”
border=“0”> <span
id=“inlineErrorMsgOnWhite”>{errorMsg}
"
output += “
”
output
end
Anybody else run into this problem? We’re running Webrick in production
mode.
Thanks