Re: [Rails] Re: why is my text_field getting a default value of current_user.email?

2011-11-07 Thread Michael Pavling
On 8 November 2011 00:50, Fearless Fool wrote: > [silly forum code won't let me edit previous reply.] That's because it's a mailing list... and even if every other subscriber let you come around to their house and edit their emails, I wouldn't ;-) The "ruby-forum" is just a wrapper for the Googl

[Rails] Re: why is my text_field getting a default value of current_user.email?

2011-11-07 Thread Fearless Fool
[silly forum code won't let me edit previous reply.] To prevent autocompletion, you can do something like: <%= form.text_field "gas_credentials[user_id]", :value => wizard.gas_credentials['user_id'], :autocomplete => :off %> -- Posted via http://www.ruby-forum.co

[Rails] Re: why is my text_field getting a default value of current_user.email?

2011-11-07 Thread Fearless Fool
Doh! The answer: browser autocompletion. I'm leaving this post in place rather than deleting it out of shame in the faint hope that it might save someone else a few minutes of head scratching. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed