Feature/rails3 bugfix protocol settings