<p><label for="email">Email:</label><br/>
<%= debugger; '' -%>
<%= f.text_field :email %><br/>
<cite>Ex., amy@zepho.com. A valid email is required for an active
account.</cite>
<cite> is for book titles, not hints. Learn to use HTML properly.
<p><label for="email">Email:</label><br/>
<%= debugger; '' -%>
<%= f.text_field :email %><br/>
<cite>Ex., amy@zepho.com. A valid email is required for an active
account.</cite>
<cite> is for book titles, not hints. Learn to use HTML properly.
Thank you ... but I did not write that code. I believe a person by the
name of Bala Paranj
(Join Collage)
created a video tutorial as well as source code. I downloaded both ...
both seem to be inaccessible now.
So ... what in Rails initializes the fields of a form?
Ok ... this code is/was provided as example code from
Join Collage
Yeah, I thought I saw restful_authentication spew in your User model. I
would strongly advise against using restful_authentication, precisely
because it clutters up your models. Try Authlogic instead.
I downloaded the movie and the source code ... neither of which seem to
be available any more
Attached, a screenshot. Where "Dave" (I presume "Dave Thomas") came
from is completely beyond me.
Well, it's not in your HTML. Unless you've got some JS in there, my
best guess is that it's coming from your Web browser, which is probably
trying to "helpfully" autofill usernames and passwords. Try a different
browser or a different computer, and I'll bet you these entries won't be
there. I don't think this is coming from Rails.
[...]
<cite>Ex., amy@zepho.com. A valid email is required for an active
account.</cite>
<cite> is for book titles, not hints. Learn to use HTML properly.
Thank you ... but I did not write that code.
Whoever wrote it, it's bad and should be corrected.
[...]
Read the form_for docs and the Rails guides.
What do you think I've been doing for the last several weeks?
Well, it's not in your HTML. Unless you've got some JS in there, my
best guess is that it's coming from your Web browser, which is probably
trying to "helpfully" autofill usernames and passwords. Try a different
browser or a different computer, and I'll bet you these entries won't be
there. I don't think this is coming from Rails.
So I tried both apps on IE instead of FireFox and ... no Dave.
Goes to show you, if you can't find a bug then either you're looking in
the wrong place or it isn't a bug.
Thank you for suggesting a different browser.
[...]
<cite>Ex., amy@zepho.com. A valid email is required for an active
account.</cite>
<cite> is for book titles, not hints. Learn to use HTML properly.
Thank you ... but I did not write that code.
Whoever wrote it, it's bad and should be corrected.
What tag do you suggest for a sample email address?
[...]
Read the form_for docs and the Rails guides.
What do you think I've been doing for the last several weeks?
I wouldn't venture to guess.
It's not what you are thing.
OK, so why is restful authentication not as good as authlogic? The
sample from Bala Paranj offers email confirmation and the sample from
Authlogic does not.
Am I looking at a ton of work to implement the email confirmation via
Authlogic?
Well, it's not in your HTML. Unless you've got some JS in there, my
best guess is that it's coming from your Web browser, which is probably
trying to "helpfully" autofill usernames and passwords. Try a different
browser or a different computer, and I'll bet you these entries won't be
there. I don't think this is coming from Rails.
So I tried both apps on IE instead of FireFox and ... no Dave.
Goes to show you, if you can't find a bug then either you're looking in
the wrong place or it isn't a bug.
Thank you for suggesting a different browser.
You're most welcome!
[...]
<cite>Ex., amy@zepho.com. A valid email is required for an active
account.</cite>
<cite> is for book titles, not hints. Learn to use HTML properly.
Thank you ... but I did not write that code.
Whoever wrote it, it's bad and should be corrected.
What tag do you suggest for a sample email address?
There is probably no tag made for the purpose (except perhaps <samp>),
so I might use <span class='hint'>.
[...]
Read the form_for docs and the Rails guides.
What do you think I've been doing for the last several weeks?
I wouldn't venture to guess.
It's not what you are thing.
OK, so why is restful authentication not as good as authlogic?
I already explained that: it puts all sorts of crap in your User model
instead of keeping it separate. Authlogic is also more flexible and
uses a better architecture.
The
sample from Bala Paranj offers email confirmation and the sample from
Authlogic does not.
Authlogic can do that.
Am I looking at a ton of work to implement the email confirmation via
Authlogic?