Fixed rails syntax bug. App seems to be functional.