Ask A Question


You’re not receiving notifications from this thread.

Advanced management (DEVISE) profiles.

Antonio F. asked in Gems / Libraries

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.



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:

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 %>
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 80,973+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.