set a title attribute for the text field inside rails form

Hi
I am trying to set title attribute for the text filed inside a form
using rails.
I tried
<%= f.text_field :email , :class => "autoclear",:title => "title" %></

but it did not work
I want it to produce this HTML
<input type="text" title="title" size="30" name="user[email]"
id="user_email" class="autoclear">

Hi
I am trying to set title attribute for the text filed inside a form
using rails.
I tried
<%= f.text_field :email , :class => "autoclear",:title => "title" %></
>
but it did not work
I want it to produce this HTML

What did it produce ?

Fred

it ignores the :title for some reason
<input type="text" size="30" name="user[email]"
id="user_email" class="autoclear">

You've got something mucking with your output. Maybe a plugin or a form builder? On a clean Rails 2.3.5 app with the following view....

<% @foo = Foo.new %>
<% form_for @foo do |f| %>
  <%= f.text_field :name, :title => 'my title' %>
<% end %>

... gives me this...

  <input id="foo_name" name="foo[name]" size="30" title="my title" type="text" />

-philip