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|Last
Lessons:- Followed users

 

Note that in Listing 11.12 we have omitted the user itself, writing just

relationships.create!  ( ... )

 

instead of the equivalent code

self.relationships.create!(...)  

 

Whether to include the explicit self is largely a matter of taste.

     Of course, users should be ableto unfollow other users as well as follow them, which leads to the somewhat predictable unfollow! method, as shown in Listing 11.13.8  

 
 
 
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)