Ruby On Rails Classroom image

Anil  Bist / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3|Last
Lessons:- Sample Microposts

With that, we are in a position to enjoy the fruits of our Section 10.2.1 labors by displaying information for each micropost.5 The preliminary results appear in Figure 10.6.

      The page shown in Figure 10.6 has no micropost-specific styling, so let’s add some (Listing 10.24) and take a look the resulting pages.6 Figure 10.7, which displays the user profile pagefor the first (signed-in) user, while Figure 10.8 shows the profilefor a second user. Finally, Figure 10.9 shows the second page of microposts for the first user, along with the pagination links at the bottom of the display. In all three cases, observe that each micropost display indicates the time since it was created (e.g., ‘‘Posted 1 minute ago.’’); this is the work of the time_ago_in_words method from Listing 10.21. If you wait a couple minutes and reload the pages, you’ll see how the text gets automatically updated based on the new time.

 

 

 
 
 
image
Anil  Bist

Skills    Ruby On Rails

Qualifications :- High School - SLV, College/University - Graphic Era Deemed Univ University,
Location :-Dehradun,Dehradun,Uttarakhand,India
Description:-

I started my Professional Journey in 2006 with one of the Web Development Company in Bangalore and my 1st framework was "Ruby on Rail" as Web development and delivered around 5+ Projects using this platform. Then came another dimension as JEE/Sturst framework, Gradually I realized that I want to build something on my own and give my passion and energy on creating something different a
Explore

 

  Students (0)