following along with the "rails3way" book