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: </div> 217: </div> #{RAILS_ROOT}/app/views/profile/financial.rhtml:215:in `write'' Any ideas? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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? > > AaronHere 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 = "<div class=''fieldPair''><div class=''fieldLabel''><p>#{pLabel}</p></div><div class=''fieldValue''>" 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}</span></div>" output += "</div><div style=''clear: both;''></div></div>" output end -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Anybody else run into this problem? We''re running Webrick in production mode. Thanks -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---