Ruby on Rails Monday, January 11, 2016

If you happen to have a complete solution for setting up
Acts_As_Follower Gem. Please, post it for your fellow devs.

https://github.com/tcocca/acts_as_follower

Users_Controller.rb [content]
Routes.rb [content]
_follow.html.erb [button]
JS for sending AJAX request and changing the state of the button from
follow to unfollow.

Lastly, adding a block button and unblock button.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/e4ff5d301b176851e8534d50c9e0e84c%40ruby-forum.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment