Ruby On Rails Classroom image

Neha  Jaggi / 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
Neha  Jaggi

Skills    Ruby On Rails

Qualifications :- High School - , College/University - Graphic Era Hill University, Dehradun, College/University - ,
Location :-Dehradun,Dehradun,UTTARAKHAND,India
Description:-

Experienced Software Developer with a demonstrated history of working in the Information Technology and services industry. Skilled in Web Technologies (Ruby on Rails, PostgreSQL, php, Laravel and AJAX). 


Explore
 

  Students (0)