Teach Me To Code » Screencasts (iPhone/iPod)

Create a ‘Like’ or ‘+1′ button with make_flaggable


Listen Later

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.
Install:
gem 'make_flaggable', :git => 'git://github.com/cavneb/make_flaggable.git'
bundle install
rails generate make_flaggable
rake db:migrate
Models:
class Article < ActiveRecord::Base
make_flaggable :like
end
class User < ActiveRecord::Base
make_flagger
end
Links:
https://github.com/medihack/make_flaggable
https://github.com/cavneb/make_flaggable
Download 93.4 MB
Download (iPod & iPhone) 43.9 MB
...more
View all episodesView all episodes
Download on the App Store

Teach Me To Code » Screencasts (iPhone/iPod)By Charles Max Wood

  • 4.3
  • 4.3
  • 4.3
  • 4.3
  • 4.3

4.3

3 ratings


More shows like Teach Me To Code » Screencasts (iPhone/iPod)

View all
JavaScript Jabber by Charles M Wood

JavaScript Jabber

235 Listeners

iPhreaks by Charles M Wood

iPhreaks

17 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

45 Listeners

The Freelancers' Show by Charles M Wood

The Freelancers' Show

23 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

33 Listeners

React Native Radio by Jamon Holmgren, Robin Heinze, Mazen Chami

React Native Radio

57 Listeners

My JavaScript Story by Charles M Wood

My JavaScript Story

4 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

61 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

21 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

15 Listeners