title: C:/Sites/rails_projects/sample_app/app/controllers/users_controller.rb:23: syntax error, unexpected $end, expecting kEND
body: <p>I am new to programming and teaching myself RoR. I am using <a href="http://ruby.railstutorial.org" rel="nofollow">http://ruby.railstutorial.org</a> as my first guide. I thought I was doing well, then a seemingly simple issue came up that even after several reads of good post on stack related to this topic I still can't fix it. I would appreciate it if someone could kindly point out the issue/s I have within my code.</p>
  
  <p>Thank you.</p>
  
  <p>I am getting this error.</p>
  
  <p>C:/Sites/rails_projects/sample_app/app/controllers/users_controller.rb:23: syntax error, unexpected $end, expecting kEND</p>
  
  <p>Here is the code I am using: </p>
  
  <pre><code>class UsersController &lt; ApplicationController
  
  def show
    @user = User.find(params[:id])
    @title = @user.name
  end
  
  def new
    @user = User.new
    @title = "Sign up"
  end
  
  def create
    @user = User.new(params[:user])
    if @user.save
    sign_in @user
    flash[:success] = "Welcome to the Sample App!"
    redirect_to @user
  else
    @title = "Sign up"
    render 'new'
   end
  end
  </code></pre>