switch to rails and get notes working