Browse files


## A form with auto-completion

Now we'll create the form to add a new person to the project. We'll set it up so that you can type the user's name, with auto-completion, in order to add someone to the project.

First we need the controller side of the auto-complete. Add this declaration to `users_controller.rb`:

  • Loading branch information...
bryanlarsen authored and iox committed Jun 3, 2013
1 parent b5f0ea5 commit 66bff32db25182d9996beb6fcce445b2ec915902
Showing with 2 additions and 0 deletions.
  1. +2 −0 app/controllers/users_controller.rb
@@ -4,6 +4,8 @@ class UsersController < ApplicationController
auto_actions :all, :except => [ :index, :new, :create ]
# Normally, users should be created via the user lifecycle, except
# for the initial user created via the form on the front screen on
# first run. This method creates the initial user.

0 comments on commit 66bff32

Please sign in to comment.