Some notes to remind me of the generators and classes necessary for creating a new rails page.

Start with a new generator

> rails generate controller Sessions –no-test-framework

Add some routes

SampleApp::Application.routes.draw do
  resources :users
  resources :sessions, only: [:new, :create, :destroy]
  root  'static_pages#home'
  match '/signup',  to: 'users#new',            via: 'get'
  match '/signin',  to: 'sessions#new',         via: 'get'
  match '/signout', to: 'sessions#destroy',     via: 'delete'

end

Create the initial controller

class SessionsController < ApplicationController

  def new
  end

  def create
    render 'new'
  end

  def destroy
  end
end

Manually create a new page

app/views/sessions/new.html.erb

<% provide(:title, "Sign in") %>
<h1>Sign in</h1>

Links that help
http://ruby.railstutorial.org/book/ruby-on-rails-tutorial#sec-sessions_controller