Archive for the 'Code' Category

Rails tip of the day: queueing multiple scriptaculous effects via rjs

Wednesday, March 18th, 2009

You want to have multiple effects executed after each other? From a controller method using rjs? Using the naive way of calling them just one after the other results in strange flickering effects. The key to success is to use the effect queue parameter, which is very weakly documented. Here is an example: page[@object].down(‘.star’).visual_effect :appear, [...]

Ruby: Active Record without Rails

Saturday, May 24th, 2008

For a few years now I am a huge fan of Rails. Rails again introduced me to Ruby, which is really the coolest scripting language ever. I am using Rails for several Web-Interfaces, both at kooaba and in my research. Currently I am working on some massively distributed processing, which requires access to the relational [...]