Monthly Archive: September 2009

Sep
24

Wake up with Amarok and Kalarm ( or cron ) and qdbus

Well it is not ruby tip. Just a Linux and KDE tip. I am playing with dbus and wonder if I can wake up with kalarm and amarok under KDE. The answer is YES!!! PS : I plan to use ruby implementation of D-Bus and make some apps with it. let see if I have …

Continue reading »

Sep
23

Inspectable accessors

Hey, it’s been a while I posted here. So what’s the purpose ? I commonly use script/console to debug my rails applications. Today I wanted to see the values of my custom attributes model without typing model.custom_attribute. So I took a look at ActiveRecord::Base#inspect method. and the default inspect method shows me database fields. Well, …

Continue reading »