Links
Categories
Zodiac
A Rails plugin to get the zodiac sign on a given date.
The plugin's automatically available in your views and your models. If you want to use it somewhere else just include the ZodiacHelper module.
zodiac_sign_for(Time.utc(2000, "jun", 12))
# => "Gemini"
zodiac_sign_for(1118) # November 18
# => "Scorpio"
zodiac_sign_for(612) # June 12
# => "Gemini"
Copyright (c) 2008 Federico Builes, released under the MIT license. Fork freely!
Vitals
| Home | http://github.com/febuiles/zodiac |
|---|---|
| Repository | git://github.com/febuiles/zodiac.git |
| License | Rails' (MIT) |
| Tags |
|
| Rating | (2 votes) |
| Owner | Federico Builes |
| Created | 18 November 2008 |
Comments
-
the greatest plugin ever !

