title: What is the "Rails way" to handle alternative instructions after User Sign-up
body: <p>I'm developing a Rails 4 application for learning purposes.  I need advice about Rails best practices.  My sign up form has the following fields: "User_name", "email", "password", and "confirmation".  It also has two (boolean) check boxes: "workout_enthusiast" and "personal_trainer".  BTW... My application also has Member and Trainer models. There are two kinds of users:  members and trainers.</p>
  
  <p>When a new user signs up, I want to feed the result from the two check boxes to the Users controller so that its "create method" sends the new user to a page that contains one set of instructions for next steps for users who are gym-goers - - workout enthusiasts :) and another set of instructions for personal trainers. In other words, I want a Welcome page that is "dynamically rendered" based on the check box input. </p>
  
  <p>I'm not satisfied with my first attempt to address the issue.  In users/show.html.erb, I placed the following code:</p>
  
  <pre><code>&lt;div class="btn btn-lg btn-primary"&gt;
  &lt;p&gt;
     &lt;strong&gt;Workout enthusiast or fitness buff? Complete your &lt;%= link_to 'Member Profile', new_member_path %&gt; now!&lt;/strong&gt;
  &lt;/p&gt;
  
  &lt;p&gt;
    &lt;strong&gt;Personal trainer or fitness coach? Complete your &lt;%= link_to 'Trainer Profile', new_trainer_path %&gt; now!&lt;/strong&gt;
  &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This "hard coded in the show view" approach doesn't solve the issue, because the instructions "persist" after a user completes the profile. That's unacceptable; I don't want users to be asked to visit the Profile form if they've already completed that step in the registration process.</p>
  
  <p>I thought about trying to solve the problem by using a flash message, but I don't know if that's the best way to handle the situation.  Skinny Controller/Brittle View?  Here's relevant code from my Users Controller:</p>
  
  <pre><code>def create
    @user = User.new(user_params)
    if @user.save
      log_in @user
      flash[:success] = "Welcome!"
      redirect_to @user
   else
     render 'new'
    end
  end  
  </code></pre>
  
  <p>I want to learn the "Rails way," so I'm asking.  What is the most appropriate way to handle this scenario?</p>
  
  <p>I appreciate any guidance and advice!</p>