This site is dedicated to further knowledge about creating Ruby on Rails applications professionaly. We discuss Ruby on Rails features from a performance angle, discuss Ruby on Rails performance analysis methods, provide information on Ruby on Rails scaling and benchmark Ruby on Rails performance for each release. We discuss best practices for selecting Ruby on Rails session containers, fragment and page caching and optimizing database queries.

blog maintenance

Posted 09 Apr 2009

It’s time for an OS upgrade. I’m going to reinstall the server over Easter. Will be back next week.

View Comments

Goodbye Trac

Posted 14 Mar 2009

I moved my ticketing system to lighthouse. It just doesn’t make sense anymore to maintain my own system on this server.

View Comments

Ditching Subversion

Posted 13 Mar 2009

I’ve converted all my public subversion repositories to git. They’re now hosted on github.

There were several reasons for doing so:

  • After having used git for some time now, subversion really feels awkward to use, even though no branching and merging was required so far.
  • It should now be much easier for users to maintain their own extensions of the plugins.
  • I will need to reinstall my server in the near future. I was not looking forward to reinstall subversion and make proper backups of all the repositories. Having the code in git, I don’t need to make server backups of the repositories anymore.

When the server gets reinstalled, the subversion support will be dropped completely.

View Comments

railsbench edge version available from github

Posted 16 Feb 2009

A while ago I moved my railsbench source repository to github. One of the benefits I hoped for was the possibility to have prerelease versions of the railsbench gem available for other people to try out, with minimal effort on my side. But github didn’t manage to build my gem automatically, as promised. I followed all instructions to the letter, but it just didn’t build. But recently the github gem builder received an update and now it does seem to work.

From now on you can install the bleeding edge version of railsbench from github. Do

gem sources -a http://gems.github.com

to add github as a remote gem repository and then do

sudo gem install skaes-railsbench

There a lots of changes in the upcoming release, as I haven’t released a new version for a long time. They are summarized in latest_changes.txt

Regards,

Stefan

View Comments

How to open textmate links in Emacs on OS X

Posted 23 Jan 2009

I must admit that I’ve had some jealous feelings lately, watching developers using texmate. It wasn’t the editor which impressed me, of course, but the support they get out of using the footnotes plugin.

However, as a dedicated member of the church of emacs, I muttered to myself: “dammit, it must be possible to invoke the one true editor instead”, even on a Mac.

And indeed, it’s possible. Here’s how to do it.

First, open the the Info.plist file of the Emacs you installed (for me it’s in /Applications/MacPorts/Emacs.app/Contents/Info.plist). Find the lines which look like

<key>CFBundleURLSchemes</key>
  <array>
    <string>mailto</string>
  </array>

and add txmt urls:

<key>CFBundleURLSchemes</key>
  <array>
    <string>mailto</string>
    <string>txmt</string>
  </array>

Second, download textmate-links.el, install it into your Emacs load path and add (require ’textmate-links) to your init.el.

Third, get RcDefaultApp if you haven’t installed it already. This will allow you to associate txmt: urls with Emacs. Open it and select the Applications tab. Navigate to Emacs and check the txtmt checkbox and select it as the default appplication for txmt urls.

Then navigate to the Urls tab and select Emacs as the handler for txmt urls, if this hasn’t happened automatically already.

Next time you click on a txmt: link in the browser of your choice, it should open the file in Emacs.

Enjoy!

View Comments

Older posts: 1 2 3 4 5 6 7 8 9