Hi ,
My model User
contains only field hashed_password
but not password
and confirmed_password
, which are requested to provide when registering. How should I write the view in this case? Following code will generate error Model User does not respond to password
.
17: </div>
18: <div class="field">
19: <%= f.label :password %><br />
20: <%= f.text_field :password %>
21: </div>