Fwd: error_messages_for not working

When I print out the HTML, the error_messages_for does not get
converted to the div code. The rails version I am using is 1.1.2

    <td>
      <table class="compbox" cellpadding="0" cellspacing="0">

        <tr><td class="panelheader">Quick Register!</td></tr>

        <tr valign="top" align="left">
        <td class="loginbg">

        <%= form_tag(:controller => "login", :action =>

“register_user”) %>

<%= error_messages_for ‘user’ %>

converts to:

    <td>
      <table class="compbox" cellpadding="0" cellspacing="0">

        <tr><td class="panelheader">Quick Register!</td></tr>

        <tr valign="top" align="left">
        <td class="loginbg">

        <form action="/login/register_user" method="post"> <br/>
          <br/>

Notice the second br

---------- Forwarded message ----------
From: Vinod K. [email protected]
Date: Jul 24, 2006 11:58 PM
Subject: Re: [Rails] error_messages_for not working
To: Pratik [email protected]

Hmm thanks for your help. What is Edge Rails? My rails version is
1.1.2 which I got by doing “rails -v”

I have the same problem - no div code and therefor no highlighted boxes.
I’m also using 1.1.2.

Does anyone know why ?

kr

Torben