Agile Web Development

Build it. Launch it. Love it.

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 Tag_red
Rating (2 votes)
Owner Federico Builes
Created 18 November 2008

Comments

  • Avatar
    toto
    27 November 2008

    the greatest plugin ever !

Add a comment