Looking at Figure 29 it seems that there is a controller with a method definition for login:
def login name = params[:name] end
but it looks like the routes translation the login actions of get and post and there is no def login method. Why does this picture show a login method? Is it dynamic generation of some kind? Or a mistake?
It looks like the:
<%= text_field_tag :name, params[:name] %>
Is passing the :name object or symbol or array to the sessions controller and the figure 29 should have this:
def create user = User.find_by_name(params[:name]) ... end