User settings

The Authentication component gives your users their own area to manage their personal user settings.

User menu

The installation of the Authentication component includes the "User menu", which is the dropdown menu located in the top right of most layouts. It displays the current user's avatar and name, and includes links for the user to navigate to edit their profile or sign out.

The _user_menu.html.erb partial is installed into app/views/layouts/global/. Like other partials in that /global folder, the user_menu is intended to be used across many different layouts, and managed in this single file.

If/when you install the Teams component, links to account settings, along with the account switcher are inserted into the user menu.

If/when you install the Admin component, a link to the admin dashboard is also inserted into the user menu.

Edit Profile Form

The user profile edit form and view is installed on the route /users/edit.

This form gives users the ability to edit their:

  • Email address
  • First name
  • Last name
  • Avatar image
  • Timezone

User Password Change Form

Since users often need to change their password without also making changes to their user profile, we install a separate view and form on the route /users/manage_password.

This form gives users the ability to change their password, which requires the user to enter their current password and confirm their new password twice.

Instrumental Components

I created Instrumental Components to make designing and building professional apps with Ruby on Rails easy, fast, and fun. I use it on all of my projects and I hope it helps you build something great.

Brian Casel
Brian Casel
Creator of Instrumental Components
Learn more Send me a question or request