Skip to main content

Advanced management (DEVISE) profiles.

Gems / Libraries • Asked by Antonio F.

Hello Chris,

I have the following problem, i can not separate the management of the profile to "devise" below will list how I would manage profiles:

Edit User Profile
(ex. http://localhost:3000/users/edit-profile)

  • Values "First Name", "Last Name", "Address", "City"

Edit User Account
(ex. http://localhost:3000/users/edit-account)

  • Values "Email", "Old Password", "New Password", and "New Password Confirmation"

Deleting user accounts
(ex. http://localhost:3000/users/account-close)

  • Values Delete button

You can get support / course about?

P.S. sorry for my English.

Greetings.


I am not too sure about the editing of your user profiles, I am still pretty new to Rails myself. - If i find any other info i will let you know.

The Devise docs should help you with editing a user's password: https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-edit-their-password

This may help you create a delete link you asked for...

<%= link_to "Cancel my account", registration_path(current_user), data: { confirm: "Are you sure?" }, method: :delete %>

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.