7.1 Showing Users

In this section, we’ll take the first steps toward the final profile by
making a page to display a user’s name and profile photo, as indicated
by the mockup in Figure 7.1.1 Our eventual goal for the user profile
pages is to show the user’s profile image, basic user data, and a list
of microposts, as mocked up in Figure 7.2.2 (Figure 7.2 has our first
example of lorem ipsum text, which has a fascinating story that you
should definitely read about some time.) We’ll complete this task, and
with it the sample application, in Chapter 11.
7.4.3 The First Signup

We can see the result of all this work by signing up our first user
under the name “Rails Tutorial” and email address
“example@railstutorial.org”. The resulting page (Figure 7.20) shows a
friendly message upon successful signup, including nice green styling
for the success class, which comes included with the Bootstrap CSS
framework from Section 5.1.2. (If instead you get an error message
indicating that the email address has already been taken, be sure to run
the db:reset Rake task as indicated in Section 7.2.) Then, upon
reloading the user show page, the flash message disappears as promised
(Figure 7.21).
7.4.3 The First Signup

We can see the result of all this work by signing up our first user
under the name “Rails Tutorial” and email address
“example@railstutorial.org”. The resulting page (Figure 7.20) shows a
friendly message upon successful signup, including nice green styling
for the success class, which comes included with the Bootstrap CSS
framework from Section 5.1.2. (If instead you get an error message
indicating that the email address has already been taken, be sure to run
the db:reset Rake task as indicated in Section 7.2.) Then, upon
reloading the user show page, the flash message disappears as promised
(Figure 7.21).
7.4.3 The First Signup

We can see the result of all this work by signing up our first user
under the name “Rails Tutorial” and email address
“example@railstutorial.org”. The resulting page (Figure 7.20) shows a
friendly message upon successful signup, including nice green styling
for the success class, which comes included with the Bootstrap CSS
framework from Section 5.1.2. (If instead you get an error message
indicating that the email address has already been taken, be sure to run
the db:reset Rake task as indicated in Section 7.2.) Then, upon
reloading the user show page, the flash message disappears as promised
(Figure 7.21).