Tinycon-rails
Gem
Dev Day 2013 |
Ekta Verma / @eku4evr
Talk about
- What is tinycon-rails?
- How to include in a ruby application
- Sample application
- Credits
Tinycon-rails is
A Ruby wrapper to integrate Tinycon - A small library for manipulating the favicon, in particular adding alert bubbles and changing images.
Tinycon
A small library for manipulating the favicon, in particular adding alert bubbles and changing images.
Source
Installation
#Add the gem to the Gemfile:
gem "tinycon-rails"
Usage
#In your JavaScript manifest (e.g. application.js):
//= require tinycon
#In your application.html.erb or application.html.haml make sure you have
favicon_link_tag 'favicon.ico'
#And after all favicon.ico in your app/assets/images
Source
Credits
- Tom Moor - who created the JS library :)
- Ankit - who helped me out in publishing my first ever gem :)
- Ruby Team - who keeps me motivated :)