Users of my application upload an avatar when they create their profiles. Here is how I display a small version of their profile picture in the navbar:

 &lt;li&gt;&lt;%= link_to image_tag current_user.avatar(:nav) %&gt;&lt;/li&gt;


I want that link to to go to the profile page of the current user. Here are my routes:

  Prefix Verb   URI Pattern                    Controller#Action
                  things GET    /things(.:format)              things#index
                         POST   /things(.:format)              things#create
               new_thing GET    /things/new(.:format)          things#new
              edit_thing GET    /things/:id/edit(.:format)     things#edit
                   thing GET    /things/:id(.:format)          things#show
                         PATCH  /things/:id(.:format)          things#update
                         PUT    /things/:id(.:format)          things#update
                         DELETE /things/:id(.:format)          things#destroy
        new_user_session GET    /users/sign_in(.:format)       devise/sessions#new
            user_session POST   /users/sign_in(.:format)       devise/sessions#create
    destroy_user_session DELETE /users/sign_out(.:format)      devise/sessions#destroy
           user_password POST   /users/password(.:format)      devise/passwords#create
       new_user_password GET    /users/password/new(.:format)  devise/passwords#new
      edit_user_password GET    /users/password/edit(.:format) devise/passwords#edit
                         PATCH  /users/password(.:format)      devise/passwords#update
                         PUT    /users/password(.:format)      devise/passwords#update
cancel_user_registration GET    /users/cancel(.:format)        devise/registrations#cancel
       user_registration POST   /users(.:format)               devise/registrations#create
   new_user_registration GET    /users/sign_up(.:format)       devise/registrations#new
  edit_user_registration GET    /users/edit(.:format)          devise/registrations#edit
                         PATCH  /users(.:format)               devise/registrations#update
                         PUT    /users(.:format)               devise/registrations#update
                         DELETE /users(.:format)               devise/registrations#destroy
                   users POST   /users(.:format)               users#create
                new_user GET    /users/new(.:format)           users#new
                    user GET    /users/:id(.:format)           users#show
                   about GET    /about(.:format)               pagess#about
                    root GET    /                              things#index


I am currently using Devise for authentication.

Here is my UsersController

class UsersController &lt; ApplicationController
  def show
    @user = User.find_by_username(params[:id])
  end

  def user_params
      params.require(:user).permit(:avatar)
  end
end



Question: Does a married women going through the conversion process need to cover her hair?
Answer: She should cover her hair the same way she keeps kosher -- she's not obligated as of right now, but she needs to get used to the lifestyle to make sure she's prepared for it. (It will also give her time to get used to the very different habit/sensation, for when she is obligated.)

(As to exactly what sort of hair covering is required -- or if there are leniencies about that -- that's a different question.)