ip-writer-rails

Kim Asendorf’s IP Writer ported to Ruby for use in for Rails applcations. IP Writer reads the IP address of a visitor to a website and tweets it. By default it will tweet to the IP Writer twitter account, although you may configure it to tweet from any account you have access to.

Installation

Include IPWriter in your Gemfile: gem 'ip-writer-rails'.

Usage

Using IPWriter is simple. Just include the ip_writer method anywhere in a controller.

pre. class HomeController < ApplicationController def index ip_writer …… end end