Ruby On Rails Classroom image

Neeraj  Amoli / Professional / Web Technology

 
To post your Question Join Classroom
 
Lesson Topics's No:-  First|1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9|Last
Lessons:-Stats and a Follow Form

and

@user.followers . count

 

Compare these to the microposts count from Listing 10.20, where we wrote

@user.microposts.count  

 

to count the microposts.

One final detail worth noting is the presence of CSS ids on some elements, as in  

 

This is for the benefit of the Ajax implementation in Section 11.2.5, which accesses elements on the page using their unique ids.

     With the partial in hand, including the stats on the Home page is easy, as shown in Listing 11.21. (This also gets the test in Listing 11.19 to pass.)

 

 
 
 
image
Neeraj  Amoli

Skills    Ruby On Rails

Qualifications :-
Location :-Dehradun,Dehradun,Uttrakhand,India
Description:-

I have 3 year experience as a Software Engineer. My Skilled are Android Development (Java), ROR Development .   


Explore
 

  Students (0)