I've been looking at the new options available in HTML5 forms, such as declaring input types as "email", "url", and "number", as described [here](http://diveintohtml5.info/forms.html).

How can I use these in conjunction with the rails form builders? I have tried

```
<% form_for @user do |f| %>
  <%= f.email :email, {:placeholder => 'user@domain.com'} %>
<% end %>

```

But that does not work. I've also tried

```
<% form_for @user do |f| %>
  <%= f.text_field :email, {:placeholder => 'user@domain.com', :type  => :email} %>
<% end %>

```

But the type is still "text" and not overridden. Is it possible, or is this something that will need to be addressed in Rails itself?