Hi Champs, I hope this is not a newbie question.:)

I have an leave table with columns start_date and end_date.  Employees
can apply leave for any date.  Now i want to display the number of days
of leave he had taken in a year.. I want it to be displayed like this:-

Jan  - 1
Feb - 10
Mar - 11
..
..
Dec - 12

Total - Whatever

Can you guys suggest me some way? Thanks in advance.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to