Ruby

You are currently browsing articles tagged Ruby.

Yehuda Katz wrote up an excellent description of the procedures to build and release gems on his blog. You can find it here: http://yehudakatz.com/2010/04/02/using-gemspecs-as-intended/

Tags:

At work we recently upgraded from Rails 2.1.2 to Rais 2.3.4. Lots of good improvements in 2.3.4, my compliments to everyone who made the new release possible!

The upgrade was relatively problem free, the only real issue that we ran into was that somewhere in between 2.1.2 and 2.3.4 the *_tag helpers (text_field_tag and such) have started behaving slightly different in relation to element ids. These helper methods now call the undocumented sanitize_to_id method, which cleans up the element ids by getting rid of characters such as [ and ] and putting in underscores instead. Read the rest of this entry »

Tags: ,

In my previous post I indicated that I am using Ruby on Rails and JRuby for my new blogging tool. As underlying database I have decided to go with the Rails default: SQLite. SQLite has the advantage that it is an embeddable database, so you don’t need a separate database server to use it (which is very convenient when developing software). Note that when you are using JRuby you can also use Apache Derby (which is an embeddable database written in Java) instead of SQLite if you want to. Read the rest of this entry »

Tags: , , , , , , , , ,

Today at work I spoke with one of my colleagues about my desire to develop something to run this weblog on myself, and the reasons that were stopping me from doing it (originally written in this post). His response was incredibly clever: “Why don’t you develop your own blogging tool at your own pace, while blogging about it on something existing now?”. It’s good advice that I have decided to take! Read the rest of this entry »

Tags: , , , , , ,