Category Archives: Ruby

Ruby is a single pass parser! Eeck!

Okay, I’ve been using ruby for a while now and I really like it, so don’t flame me. BUT! Ruby appears to be a single pass parser. This means if you have a class that uses another class in the … Continue reading

Posted in Ruby | 6 Comments

Hibernate collection fetching

Hibernate doesn’t fetch collections within a bean in the same session the beans were created in. If you need objects in those collections later on within that session, you had better put them in there. This even holds true when … Continue reading

Posted in Java, Ruby | 6 Comments

MTS06 – LINQ and C#

LINQ is a query language built into C#. For C# 3.0 Microsoft has added a large number of keywords into the language that allow a developer to query into objects in a SQL fashion. This can also be used to … Continue reading

Posted in Java, MTS06, Ruby, Tech | 3 Comments

ActiveRecord trick

Just ran into something and wanted to jot it down to remember it. ActiveRecord objects have two different methods of accessing their associated data: @foo and foo. The former references the container for the data and the latter references the … Continue reading

Posted in Rails, Ruby | Leave a comment