With the recent release of the Google Plus beta (ask me for an invite if you want one), I felt it appropriate to show a simple way to create a Like or +1 button for your Rails application. The app and concept is pretty simple, so I won’t worry about posting the code below.
gem ‘make_flaggable’, :git => ‘git://github.com/cavneb/make_flaggable.git’
rails generate make_flaggable
class Article < ActiveRecord::Base
class User < ActiveRecord::Base
Download 93.4 MB
Download (iPod & iPhone) 43.9 MB