Rebuilding my getNote site in Ruby on Rails