2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018

06/28/2010: Alastrina - a gem to push model changes to twitter

Alastrina - a gem to push model changes to twitter

http://github.com/medined/alastrina - the gem

http://github.com/medined/alastrina_demo - a demo application

http://twitter.com/Alastrina_gem - the result

I was doodling in code this weekend and the result is a small gem that hooks into the after_save callback to send model changes to a Twitter account.

Make sure you install the Twitter gem. Then in the demo app, update the config/alastrina.yml file with your Twitter credentials. Open a console and do:

a = Place.new
a.name = "GGG"
a.save

And, presto, the model changes should be posted to your Twitter feed.



subscribe via RSS