www.francisfish.com

Click Bookshop to see my novels. Buddhist, father of 2, Ruby on Rails programmer for money, and fiction writer.

    follow me on Twitter

    Rails: I can put together a simple database-backed app really quickly

    Comment left here ... and that's why I use RoR. 90% of the "anti" opinions here don't get it. It's quick, it has a low entry barrier, and, if you want the Ajax stuff, it's very easy to do simple things. If you want stuff tha

    Comments (0) . Friday, 25 April 2008

    Getting the number of months between two dates in Ruby/Rails - updated

    Here lies the one that works, not the old one I posted ages ago. It also uses dates instead of timestamp differences and should therefore not break if you ask it to go before the Epoch (some time in 1970 I think):

    Comments (2) . Wednesday, 2 April 2008