# Input/Output Errors

**URL:** <https://www.ruby-forum.com/t/input-output-errors/86874>\
**Category:** Rails\
**Created:** [February 26, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/input-output-errors/86874 "2007-02-26T18:07:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![blakeage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Post date:** [February 26, 2007, 6:07pm UTC](https://www.ruby-forum.com/t/input-output-errors/86874/1 "2007-02-26T18:07:01Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![blakeage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Post date:** [February 26, 2007, 8:05pm UTC](https://www.ruby-forum.com/t/input-output-errors/86874/2 "2007-02-26T20:05:46Z")

</div>

> ```
> 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

---

<div class="post-metadata">

**Author:** ![blakeage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Post date:** [February 27, 2007, 12:13am UTC](https://www.ruby-forum.com/t/input-output-errors/86874/3 "2007-02-27T00:13:15Z")

</div>

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 = “

#{pLabel}

”  
output += text\_field(pTable, pColumn, pAttributes)  
output += “\<div id=“validDiv\_#{pColumn}” style=“display:  
none;”\>&nbsp;&nbsp;&nbsp;\<img  
src=”/images/exclamation\_small\_onwhite.gif" align=“absmiddle”  
border=“0”\> \<span  
id=“inlineErrorMsgOnWhite”\>{errorMsg}
"  
output += “

”  
output  
end

---

<div class="post-metadata">

**Author:** ![blakeage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/b38774/32.png) [@blakeage](https://www.ruby-forum.com/u/blakeage)\
**Post date:** [March 2, 2007, 4:35pm UTC](https://www.ruby-forum.com/t/input-output-errors/86874/4 "2007-03-02T16:35:24Z")

</div>

Anybody else run into this problem? We’re running Webrick in production  
mode.

Thanks
