This project is archived and is in readonly mode.

#5471 ✓committed
Oliver Eilhard

FormHelper problem with write-only fields

Reported by Oliver Eilhard | August 27th, 2010 @ 09:24 AM

With 3.0 RC2 I'm having problems with models that have write-only fields that are not backed by a database column, e.g. a User model with a password field.

I will provide a new test in form_helper_test.rb that fails with RC2 but succeeds with RC.

This is probably due to the changes in 8141f0894ecf869ee11f077e5b49e06669790632 (see ticket #3374.

The only workaround I've found is implementing the xyz_before_type_cast method. Is this the way it's supposed to work?

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Referenced by

Pages