Ralph Shnelvar wrote:
> Marnen Laibow-Koser wrote:
>> Ralph Shnelvar wrote:
>>> Marnen Laibow-Koser wrote:
> 
>>>>> So ... what in Rails initializes the fields of a form?
>>>> 
> 
> Ok ... this code is/was provided as example code from
> http://www.rubyplus.org/episodes/20-Extended-RESTful-Authentication-Rails-2-App.html

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., [email protected]. 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?

I wouldn't venture to guess. :)
Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to