I think the :password_confirmation in create and update list of columns for
user model will be enough.
like this:
config.create.columns = [..., :password_confirmation, ...]
config.update.columns = [..., :password_confirmation, ...]
2010/8/3 Frederic <[email protected]>

> Hello,
>
> I am new to ActiveScaffold (and to Ruby on Rails for that matter), so
> please forgive my noobie question.
>
> I am using 'authlogic' to add an authentification functionality to an
> application, and I would like to use ActiveScaffold to take care of
> the forms. I have a model User with a couple of attributes, like name,
> email, password. My problem is that authlogic expect a
> 'password_confirmation' field in the create-form, and this is not (and
> should not be) an attribute in the model.
> From what I gathered in this forum, it is possible to add a field in a
> form that does not correspond to an attribute in the model, and this
> would be called a 'virtual column' and it would be created in my
> model. But I still haven't been able to figure out exactly how I would
> do that.
>
> Any help would be much appreciated.
>
> Sincerely,
>
> Frederic
>
> --
> You received this message because you are subscribed to the Google Groups
> "ActiveScaffold : Ruby on Rails plugin" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<activescaffold%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/activescaffold?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.

Reply via email to