Monthly Archive for març, 2008

Firebird and Rails using jruby

I'm using last jruby release with rails 2.0.2 and activerecord-jdbc-adapter.

#gem install rails activerecord-jdbc-adapter

Then copy Firebird-jdbc-adapter.jar into $JRUBY_HOME/lib

Configure your rails application database.yaml like that:

development:
adapter: jdbc
username: sysdba
password: masterkey
driver: org.firebirdsql.jdbc.FBDriver
url: jdbc:firebirdsql:localhost/3050:database.fdb

NOTE: database.fdb is an alias. In order to setup an alias you have to config aliases.conf located on your firebird configuration folder and do something like that:

#/etc/firebird2/aliases.conf

database.fdb = /databases/myblog/myblog.fdb

That's all you need to work with firebird and rails.

Webkit has passed 3rd acid test [UPDATED]

Finally  webkit engine has passed the acid3 after opera 9.5 beta which did it some hours before. As expected it renders this:

webkit-SVN-r31370-100-100

The report only shows two warnings about time took to pass two tests: 

Report webkit r31370