This is what I am seeing when I submit:

Processing UsersController#create (for 127.0.0.1 at 2009-10-27
13:02:52) [POST]
  Parameters: {"user"=>{"password_confirmation"=>"1234",
"username"=>"about2flip
", "password"=>"1234", "email"=>"mnu...@gmail.com"},
"commit"=>"Submit", "authen
ticity_token"=>"+Xtj768EKeR4j+sQ7maJv+ly9wfTD02jRQq4WaJH/zc="}
WARNING: Can't mass-assign these protected attributes:
password_confirmation
  ←[4;35;1mUser Exists (0.0ms)←[0m   ←[0mSELECT "users".id FROM
"users" WHERE (L
OWER("users"."email") = 'mnu...@gmail.com') LIMIT 1←[0m
  ←[4;36;1mUser Exists (0.0ms)←[0m   ←[0;1mSELECT "users".id FROM
"users" WHERE
(LOWER("users"."username") = 'about2flip') LIMIT 1←[0m
  ←[4;35;1mUser Exists (0.0ms)←[0m   ←[0mSELECT "users".id FROM
"users" WHERE ("
users"."persistence_token" =
'1208ff98da888d6b012a4eb64283417acf264d4e3baf612219
1c98f05e3dbcf913691b2690dacc928a4b116f189c6c6f4d226aaaf081d2bc9b5d4fa94aabd837')
 LIMIT 1←[0m
Rendering template within layouts/application
Rendering users/new
Rendered users/_form (16.0ms)
Completed in 187ms (View: 16, DB: 0) | 200 OK [http://localhost/users]

What does this mean: WARNING: Can't mass-assign these protected
attributes:

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
> mar...@marnen.org
> --
> 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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to