SQL query fix + privacy settings in HAML