On 27 Oct 2009, at 17:13, about2flip wrote:

>
> Would it be because of this line in my model:
>
> attr_accessible :username, :email, :password
>

yes - this means that

User.create(params[:user]) won't set username, email or password.

Fred
> thanks
>
>
>
> On Oct 27, 12:37 pm, Marnen Laibow-Koser <rails-mailing-l...@andreas-
> s.net> wrote:
>> about2flip wrote:
>>> I tried what you suggested, and now it's telling me thatpasswordis
>>> tooshortminimum 1. I am putting in 4,5,6 characters. I also put in
>>> this:
>>
>>> merge_validates_confirmation_of_password_field_options
>>
>>> What are the options, I don't see them in rdoc.
>>
>> They're in the rdoc.  Check out the various
>> ActsAsAuthentic::[whatever]::Config modules.
>>
>>
>>
>>> Thanks.
>>
>> Best,
>> --
>> Marnen Laibow-Koserhttp://www.marnen.org
>> [email protected]
>> --
>> Posted viahttp://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