W dniu 21.08.2010 16:34, Scorpio pisze:
> I did that and th sign-up looks great now without any
> application.dryml overrides but when i click edit user i still get
> only the default fields. I checked the rapid tag for "form" for "User"
> and "sign-up" and they both have the same proper auto generated
> definition and yet fields don't show.

You may need to edit view/update (and possibly edit) permissions. To
check your permissions start script/console and do something like:

user = User.last
user.viewable_by?(user, :city)
user.editable_by?(user, :city)


Or you could put something like

<%= this.viewable_by?(current_user, :city) ? "Can view :city" : "Can't
view :city" %> <br/>
<%= this.editable_by?(current_user, :city) ? "Can edit :city" : "Can't
edit :city" %> <br/>

in your form and see what will show when you try to edit user.

Regards,
Joachim

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to