I have another Rails project that I am using a Gem called HebRuby - It
calculates Hebrew dates and displays them.

In Application Controller:

  def heb_date
    today = Date.today
    hebdate = Hebruby::HebrewDate.new today
    day     = hebdate.hd
    month   = Hebruby::HebrewDate::MONTH_NAMES[hebdate.hm]
    year    = hebdate.hy
    @fhebdate = "#{day} #{month} #{year}"
  end

--------------------------------------

In Application.html.haml

        .field= @fhebdate

My question is: Where do I put these in my Radiant project to get them to
work?


Thanks

Al

Reply via email to