I just give up. I have remembered password and login for my phpmyadmin on www.xxx.com/phpmyadmin like:
root
asdfasfsdfs
Then on my aplication on www.xxx.com/model/new , I have
<%= form_for @model do |f| %>
<%= f.text_field :city, :placeholder => 'Write Your city' %>
<%= f.password_field :password, :placeholder =>'SET PASSWORD' %>
<% end %>
Why browser put in text_field for city "root" and in password - password for root of phpmyadmin?
How can I remove autocomplete of this fields? I try:
autocomplete => 'off'
autofocus => false
:value => ''
$('#field').val('')
Nothings work... Peoples do not see placeholder text, because fields are filled ...
ANSWER:
Ok, I make by jQuery, like this:
$(window).load(function(){
$('.div_class input').val('')
});
So fields are filled but after load is done jQuery clear them.