Use params[:field] instead of @params[:field] @params is the old way of
doing things.
Try @method = params[:user][:username]
The data in the form will go into params[:user] and then you can access
the individual fields if you need to though most of the time you will
just be doing something like @user = User.new(params[:user])
Use params[:field] instead of @params[:field] @params is the old way of
doing things.
Try @method = params[:user][:username]
The data in the form will go into params[:user] and then you can access
the individual fields if you need to though most of the time you will
just be doing something like @user = User.new(params[:user])