Input/output error

Nitin Mathur
2010-05-06T08:44:50Z

Hi

My application was running fine. All of sudden I started to get an
input/output error in one of the templates. However, error goes away
once I restart the mongrel server but after some time again same error
appears. I am pasting the trace below. Please help me getting rid of
this error forever.

ActionView::TemplateError (Input/output error) on line #46 of
app/views/starwars/edit_folders.rhtml:
43:
44: Platform Applicable:
45:
46: <%= select
''plat'',''id'',Platform.find(:all,:order =>
''start
DESC'').collect{|p| [p.name, p.id]},{:selected =>
Platform.find(params[:p]).id} %>
47:
48:
49: <%#= link_to_function "ADD","Folders.copy_select();"
%>


/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in
`write''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in
`id''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in
`send''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in
`value''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:340:in
`value''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_options_helper.rb:300:in
`to_select_tag''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/form_options_helper.rb:66:in
`select''
    #{RAILS_ROOT}/app/views/starwars/edit_folders.rhtml:46:in
`_run_rhtml_47app47views47starwars47edit_folders46rhtml''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/capture_helper.rb:108:in
`call''

/usr/local/rubygems/gems/gems/actionpack-1.13.3/lib/action_view/helpers/capture_helper.rb:108:in
`capture_erb_with_buffer''



Thanks in advance,