Ruby On Rails Classroom image

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