Pure Ruby and Rails stuff