RubyMine – A New Ruby IDE

Here is something interesting. JetBrains is releasing their ruby and rails support in IDEA as a specially targetted product called RubyMine. I just took a download of the preview and tried it out. To a long term IDEA user, it looks an awful lot like, … IDEA I guess it is “just” a slimmed down [...]

November 4, 2008 · polesen · No Comments
Tags: , ,  Â· Posted in: Tools

ActiveRecord Associative Array Directly Into The Database

The other day, I came across the following code in a Rails project of mine: value = SystemSetting[:some_key_here].to_i Hmm, I could not recoqnize SystemSetting, so I guessed it was something a colleague of mine had introduced while I was away from the project. I guessed it to be an associative array, setup in the rails [...]

February 13, 2008 · polesen · 3 Comments
Tags: , ,  Â· Posted in: Programming

One ActiveRecord Naming Convention To Take With Me

You can say what you want about the way ActiveRecord pluralizes table names. I for one, do not like it much! But hey, I could get used to it, so what the heck. But one naming convention I noticed that I have taken with me back into Java land, is the one about naming properties [...]

January 10, 2008 · polesen · No Comments
Tags: , ,  Â· Posted in: Programming