Time tracking on Rails 2.3.2
time.onrails.org was first deployed in 2005 and the last time I deployed it was in July 2007. This application is in use by several hundred people daily and several thousands did sign up over the year. It's written in old-style Rails (pre-resources) and I did port it to Rails 1.2 a while back. So today I decided to run the test suite and had a list of deprecation warnings for Rails 2.0. I did fix them all, then decided to run against Rails 2.3.2. A couple of more issues where identified (tests with fixtures should use ActionController::TestCase and ActiveRecord::TestCase) and all tests where passing. I used to have a timezone bug related to the old Rails support of time zones, so I decided to bite the bullet and try out the Rails 2.0 time zone support and found a good description here. The change was straight forward, et voila, time.onrails.org running on 2.3....not so quick. I did a cap deploy and then realized that I didn't have the latest version of Rails on my deployment system, nor did I have the latest version of the gems. So after a 'gem update --system I encountered a gem related issue but with this solution I was back in business....Et voila, time.onrails.org running on 2.3.2! Note it's still old style Rails and needs a good rewrite, but if you need a free time tracking application, just go try it out.
about 11 hours later
any plan to release the code in github?
about 11 hours later
any plan to release the code in github?
2 days later
+1 for github release
3 days later
I was requested that a while back, and I said no back then mostly because the code is old style Rails code and I don’t deem it good enough anymore to be publicly released. So sorry for that, but feel free to use the application.