Software consulting and development in and around Oshawa, Durham Region and the Greater Toronto Area of Ontario

Ruby on Rails Favicon Plugin

Rails plugin for displaying favicon of your users service providers, or any other IP address


Install from within your Rails app

./script/plugin install

Generate controller required in your app to show favicon images

./script/generate favicon

Add an entry to routes.rb

map.favicon "/favicon/:ip", :controller => "favicon", :action => "show", :requirements => {:ip => /.*\..*\..*/}


- Your providers favicon (might not be available)

<%= favicon_image(request.env['REMOTE_ADDR'], :size => "64x64") %>

- ( Microsoft Spider

<%= favicon_image '' %>

- ( Yahoo Spider

<%= favicon_image '' %>

- ( Road Runner Client

<%= favicon_image '' %>


Get the Source from Google Code Hosting