Category Archives: configuration

RAILS: configuring authlogic authentication gem on Rails 3

Using Rails 3. This is the most straightforward article on configuring authlogic on Rails 3: http://www.dixis.com/?p=352 There’s only one minor change I had to do, changing this (in ApplicationController): def store_location session[:return_to] = request.request_uri end To this: def store_location session[:return_to] … Continue reading

Posted in configuration, programming | Tagged , , | Leave a comment

JAVA: Using Java 6 instead of Java 5 in Mac OS X

Using Mac OS X 10.5.8 I was getting some UnsupportedClassVersionError when I tried running my application in Mac OS X. This error means I’m trying to use code compiled in a Java version not supported by my JVM. To check … Continue reading

Posted in configuration | Tagged , , | Leave a comment

EJABBERD: registering new account using an admin connection

Symptom: Using ejabberd 2.1.x built from source code from Git repository. I’m connecting to an ejabberd server using Smack XMPP client library. I am able to create new accounts on the XMPP server when the connection is not logged, just … Continue reading

Posted in configuration | Tagged , | 1 Comment