Hi, I'm Benedikt Deicke, and I'm a freelance web and software developer. I'm mainly building user focused web applications using Ruby on Rails and JavaScript. Additionally I'm currently studying for my master's degree and enjoying photography in my spare time. Feel free to get in touch with me, I'm available for hire!

September 21st, 2007
ActiveRecord: Using the "type"-column

By default it’s not possible to use a database-column called “type” for anything else than single table inheritance. To change this, simply use set_inheritance_column() and read_attribute():

   1  class TypeTest < ActiveRecord::Base
   2    set_inheritance_column(:something_else)
   3  
   4    def type()
   5      read_attribute(:type)
   6    end
   7  
   8    def type=(value)
   9      write_attribute(:type, value)
  10    end
  11  end
Posted by benediktFiled in Articles, Ruby on Rails

August 14th, 2007
ClockingIT

Since last week I’m using ClockingIT to track the time I spent on client-projects. Some of the features are (taken from clockingit.com ):
  • time tracking & reports
  • milestones & due dates
  • timeline & activity log
  • notifications, rss & iCal
  • integrated wiki
  • english, brazilian, french, german, spanish & norwegian languages

The application is totally free. You’re able to download the sources or simply register an account … Oh, and by the way: it’s a rails-app … ;-)

Posted by benediktFiled in Other, Ruby on Rails

May 2nd, 2007
UFTG Shop online

It’s done! My first Rails application is online. Hope it works fine … :-) Go visit http://shop.uftg.de/ and order some merch …

Posted by benediktFiled in Ruby on Rails